Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.001938/0.001938, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002369/0.002369, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.133/3.133, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.17 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4283, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.006026/0.4343, allocations: 3.638 MB / 1.32 GB, free: 6.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.4396, allocations: 2.136 MB / 1.322 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.4408, allocations: 23.88 kB / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.4416, allocations: 186 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008592/0.4425, allocations: 146.6 kB / 1.322 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.4441, allocations: 0.5333 MB / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.4462, allocations: 1.245 MB / 1.324 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4473, allocations: 442.3 kB / 1.324 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008624/0.4482, allocations: 462.2 kB / 1.325 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.4491, allocations: 477.6 kB / 1.325 GB, free: 344 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.4495, allocations: 132 kB / 1.325 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.4499, allocations: 147.9 kB / 1.325 GB, free: 64 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.4503, allocations: 251.2 kB / 1.326 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.4508, allocations: 0.5051 MB / 1.326 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.4525, allocations: 1.435 MB / 1.328 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4525, allocations: 4 kB / 1.328 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4525, allocations: 0 / 1.328 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.4525, allocations: 0 / 1.328 GB, free: 13.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003145/0.4557, allocations: 1.555 MB / 1.329 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4557, allocations: 12.02 kB / 1.329 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.4559, allocations: 124.2 kB / 1.329 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4569, allocations: 0.5426 MB / 1.33 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.457, allocations: 74.36 kB / 1.33 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4571, allocations: 92.38 kB / 1.33 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4587, allocations: 0.8602 MB / 1.331 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4587, allocations: 4.188 kB / 1.331 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.4588, allocations: 39.94 kB / 1.331 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.4588, allocations: 24 kB / 1.331 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4601, allocations: 0.6324 MB / 1.331 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.4647, allocations: 2.906 MB / 1.334 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4662, allocations: 0.6487 MB / 1.335 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.4668, allocations: 351.1 kB / 1.335 GB, free: 5.789 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/0.4669, allocations: 13.11 kB / 1.335 GB, free: 5.777 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006832/0.4676, allocations: 352.3 kB / 1.336 GB, free: 5.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=68): time 2.885e-06/0.4676, allocations: 0 / 1.336 GB, free: 5.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=68): time 0.001768/0.4693, allocations: 0.8371 MB / 1.336 GB, free: 4.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.4695, allocations: 192.6 kB / 1.337 GB, free: 4.348 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.4704, allocations: 0.6763 MB / 1.337 GB, free: 3.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.646e-05/0.4705, allocations: 49.64 kB / 1.337 GB, free: 3.613 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.4709, allocations: 436.6 kB / 1.338 GB, free: 3.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.4711, allocations: 245.9 kB / 1.338 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.4713, allocations: 146.6 kB / 1.338 GB, free: 2.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4715, allocations: 337.9 kB / 1.338 GB, free: 2.453 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.4722, allocations: 304.6 kB / 1.339 GB, free: 2.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.473, allocations: 474.2 kB / 1.339 GB, free: 1.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.4743, allocations: 0.6774 MB / 1.34 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4743, allocations: 0 / 1.34 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001782/0.4761, allocations: 0.8812 MB / 1.341 GB, free: 8 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.4762, allocations: 37.7 kB / 1.341 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4762, allocations: 4 kB / 1.341 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4762, allocations: 7.938 kB / 1.341 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.4768, allocations: 163.8 kB / 1.341 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.4768, allocations: 12.05 kB / 1.341 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.4774, allocations: 139.3 kB / 1.341 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.4775, allocations: 31.98 kB / 1.341 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007058/0.4782, allocations: 394.9 kB / 1.341 GB, free: 15.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006316/0.4788, allocations: 418.2 kB / 1.342 GB, free: 14.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009079/0.4797, allocations: 0.5681 MB / 1.342 GB, free: 14.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4797, allocations: 0 / 1.342 GB, free: 14.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001341/0.4811, allocations: 0.7599 MB / 1.343 GB, free: 13.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.4811, allocations: 41.69 kB / 1.343 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.4811, allocations: 0 / 1.343 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.4811, allocations: 8 kB / 1.343 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.4817, allocations: 144.1 kB / 1.343 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4817, allocations: 8 kB / 1.343 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.4822, allocations: 111.5 kB / 1.343 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.4822, allocations: 28 kB / 1.343 GB, free: 13.02 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002624/0.4825, allocations: 232 kB / 1.344 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4826, allocations: 87.48 kB / 1.344 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.484, allocations: 0.6498 MB / 1.344 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.484, allocations: 12 kB / 1.344 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.484, allocations: 0 / 1.344 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.484, allocations: 3.984 kB / 1.344 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.4867, allocations: 1.637 MB / 1.346 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4867, allocations: 12.16 kB / 1.346 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.4872, allocations: 131.8 kB / 1.346 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4872, allocations: 8 kB / 1.346 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.4872, allocations: 15.98 kB / 1.346 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.4873, allocations: 11.94 kB / 1.346 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4873, allocations: 3.984 kB / 1.346 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4892, allocations: 1.092 MB / 1.347 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.4893, allocations: 103.3 kB / 1.347 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.4894, allocations: 20 kB / 1.347 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.4897, allocations: 44.14 kB / 1.347 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.4898, allocations: 44.42 kB / 1.347 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.4899, allocations: 27.92 kB / 1.347 GB, free: 8.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006192/0.4905, allocations: 483 kB / 1.348 GB, free: 8.281 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4905, allocations: 4 kB / 1.348 GB, free: 8.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008964/0.4914, allocations: 331 kB / 1.348 GB, free: 7.953 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002191/0.4916, allocations: 119.7 kB / 1.348 GB, free: 7.828 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.4937, allocations: 1.066 MB / 1.349 GB, free: 6.746 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4937, allocations: 448 / 1.349 GB, free: 6.746 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.4943, allocations: 290.6 kB / 1.35 GB, free: 6.457 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.4952, allocations: 187.7 kB / 1.35 GB, free: 6.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.4979, allocations: 1.511 MB / 1.351 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.4986, allocations: 0.9742 MB / 1.352 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003614/0.4989, allocations: 97.92 kB / 1.352 GB, free: 3.613 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.4991, allocations: 63.42 kB / 1.352 GB, free: 3.551 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.4991, allocations: 0 / 1.352 GB, free: 3.551 MB / 1.045 GB Notification: Performance of Templates: time 0.01951/0.5186, allocations: 10.23 MB / 1.362 GB, free: 9.418 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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: 9.602204540744424]