Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 112.9 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 199.2 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.25 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4327, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006156/0.4389, allocations: 4.149 MB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.4418, allocations: 1.325 MB / 1.267 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.4422, allocations: 27.88 kB / 1.267 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.4427, allocations: 126.7 kB / 1.268 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.443, allocations: 186.4 kB / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.444, allocations: 430.3 kB / 1.268 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.445, allocations: 0.9593 MB / 1.269 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.4456, allocations: 314.2 kB / 1.269 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.446, allocations: 330.7 kB / 1.27 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.4463, allocations: 338.4 kB / 1.27 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.4465, allocations: 88 kB / 1.27 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.4466, allocations: 92 kB / 1.27 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4468, allocations: 175.4 kB / 1.27 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.4471, allocations: 390.1 kB / 1.271 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.4483, allocations: 1.074 MB / 1.272 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4483, allocations: 0 / 1.272 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4483, allocations: 0 / 1.272 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.4483, allocations: 0 / 1.272 GB, free: 2.98 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00196/0.4503, allocations: 1.1 MB / 1.273 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4503, allocations: 8.031 kB / 1.273 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.4505, allocations: 84.42 kB / 1.273 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.4514, allocations: 0.5732 MB / 1.273 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.4515, allocations: 49.69 kB / 1.274 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.4516, allocations: 60.33 kB / 1.274 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4527, allocations: 0.6117 MB / 1.274 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.4527, allocations: 0 / 1.274 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.4528, allocations: 28 kB / 1.274 GB, free: 360 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.4528, allocations: 15.94 kB / 1.274 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.4538, allocations: 460.9 kB / 1.275 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.4568, allocations: 1.997 MB / 1.277 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.4577, allocations: 421.5 kB / 1.277 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.4581, allocations: 227.3 kB / 1.277 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4582, allocations: 8.422 kB / 1.277 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/0.4587, allocations: 261.3 kB / 1.277 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.986e-06/0.4587, allocations: 0 / 1.277 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001362/0.4601, allocations: 0.5807 MB / 1.278 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.4601, allocations: 67.77 kB / 1.278 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.4607, allocations: 446 kB / 1.279 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.4607, allocations: 33.7 kB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.461, allocations: 329.6 kB / 1.279 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4611, allocations: 170.5 kB / 1.279 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.4613, allocations: 98.2 kB / 1.279 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4615, allocations: 366.8 kB / 1.279 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.4619, allocations: 165 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.4624, allocations: 245.8 kB / 1.28 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.4632, allocations: 456 kB / 1.28 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4632, allocations: 4 kB / 1.28 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001123/0.4644, allocations: 0.5629 MB / 1.281 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4644, allocations: 37.64 kB / 1.281 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4644, allocations: 4 kB / 1.281 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4644, allocations: 4 kB / 1.281 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.465, allocations: 111.8 kB / 1.281 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.465, allocations: 8 kB / 1.281 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.4653, allocations: 55.64 kB / 1.281 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4654, allocations: 20 kB / 1.281 GB, free: 9.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003368/0.4657, allocations: 213.7 kB / 1.281 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.4658, allocations: 59.56 kB / 1.281 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.4659, allocations: 69.58 kB / 1.281 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.466, allocations: 0 / 1.281 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.466, allocations: 0 / 1.281 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.4662, allocations: 180.5 kB / 1.282 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.4663, allocations: 4 kB / 1.282 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.4665, allocations: 23.98 kB / 1.282 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4666, allocations: 40.38 kB / 1.282 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001304/0.4679, allocations: 0.5542 MB / 1.282 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001424/0.4693, allocations: 0.8495 MB / 1.283 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004029/0.4697, allocations: 195.4 kB / 1.283 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003923/0.4701, allocations: 310.8 kB / 1.284 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of Backend: time 1.8e-07/0.4701, allocations: 4 kB / 1.284 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.4712, allocations: 392.8 kB / 1.284 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002481/0.4736, allocations: 1.73 MB / 1.286 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of Templates: time 0.0143/0.4879, allocations: 7.252 MB / 1.293 GB, free: 13.18 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches