Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.198/3.198, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.25 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3747, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002429/0.3772, allocations: 0.9646 MB / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.3796, allocations: 1.443 MB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.3797, allocations: 0 / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.3797, allocations: 11.81 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.3799, allocations: 63.56 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.381, allocations: 448.3 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.3815, allocations: 495.1 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3816, allocations: 33.66 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3819, allocations: 183.6 kB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3821, allocations: 167.4 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.3822, allocations: 48 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3823, allocations: 63.98 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.3824, allocations: 39.78 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3826, allocations: 163.5 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.3832, allocations: 0.4948 MB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3832, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3832, allocations: 4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3833, allocations: 3.938 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001001/0.3843, allocations: 0.6339 MB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3843, allocations: 12.92 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.3843, allocations: 38.73 kB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.3844, allocations: 32.8 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3848, allocations: 223.1 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3848, allocations: 12.38 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.385, allocations: 28.36 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3852, allocations: 123.4 kB / 1.31 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3852, allocations: 3.938 kB / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3852, allocations: 8 kB / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3852, allocations: 0 / 1.31 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3853, allocations: 55.91 kB / 1.31 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3864, allocations: 0.8718 MB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3865, allocations: 118.4 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.3866, allocations: 51.42 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3866, allocations: 4 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.3869, allocations: 170.6 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.3869, allocations: 0 / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0004554/0.3874, allocations: 226 kB / 1.311 GB, free: 10.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.3875, allocations: 140.4 kB / 1.311 GB, free: 9.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3878, allocations: 244.8 kB / 1.311 GB, free: 9.617 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.3878, allocations: 41.64 kB / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.388, allocations: 132.5 kB / 1.312 GB, free: 9.438 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.388, allocations: 35.75 kB / 1.312 GB, free: 9.402 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3882, allocations: 89.66 kB / 1.312 GB, free: 9.309 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.3885, allocations: 334.8 kB / 1.312 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3888, allocations: 140.2 kB / 1.312 GB, free: 8.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.3891, allocations: 223.9 kB / 1.312 GB, free: 8.578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.3897, allocations: 376.9 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3897, allocations: 0 / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009546/0.3907, allocations: 0.5667 MB / 1.313 GB, free: 7.551 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.3908, allocations: 138.8 kB / 1.313 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3908, allocations: 4 kB / 1.313 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3908, allocations: 4.094 kB / 1.313 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.3909, allocations: 19.91 kB / 1.313 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3909, allocations: 4 kB / 1.313 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.3915, allocations: 115.8 kB / 1.313 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.3915, allocations: 27.98 kB / 1.314 GB, free: 7.219 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.3917, allocations: 154.3 kB / 1.314 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3917, allocations: 23.86 kB / 1.314 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.3918, allocations: 21.23 kB / 1.314 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3918, allocations: 11.94 kB / 1.314 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3918, allocations: 0 / 1.314 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3918, allocations: 3.938 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.3921, allocations: 257.5 kB / 1.314 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3921, allocations: 0 / 1.314 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.3921, allocations: 15.92 kB / 1.314 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3921, allocations: 7.938 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3921, allocations: 8 kB / 1.314 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3922, allocations: 0 / 1.314 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3922, allocations: 0 / 1.314 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3925, allocations: 225.6 kB / 1.314 GB, free: 6.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.3925, allocations: 92.97 kB / 1.314 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.3926, allocations: 11.98 kB / 1.314 GB, free: 6.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.3926, allocations: 0 / 1.314 GB, free: 6.289 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3927, allocations: 23.86 kB / 1.314 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3927, allocations: 16 kB / 1.314 GB, free: 6.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001967/0.3929, allocations: 164.5 kB / 1.315 GB, free: 6.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3929, allocations: 0 / 1.315 GB, free: 6.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003244/0.3932, allocations: 64 kB / 1.315 GB, free: 6.023 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006971/0.3939, allocations: 0.7638 MB / 1.315 GB, free: 5.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.3946, allocations: 485.4 kB / 1.316 GB, free: 4.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3946, allocations: 0 / 1.316 GB, free: 4.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3947, allocations: 56.41 kB / 1.316 GB, free: 4.645 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3952, allocations: 71.05 kB / 1.316 GB, free: 4.578 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.3998, allocations: 3.041 MB / 1.319 GB, free: 1.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.4002, allocations: 0.7281 MB / 1.32 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.137e-05/0.4003, allocations: 17.55 kB / 1.32 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4004, allocations: 63.41 kB / 1.32 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.4004, allocations: 0 / 1.32 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/0.452, allocations: 6.421 MB / 1.326 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.693, allocations: 12.5 kB / 1.326 GB, free: 10.26 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.540570731740445]