Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001708/0.001708, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001752/0.001752, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7425, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005578/0.7481, allocations: 4.128 MB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.7507, allocations: 1.325 MB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005973/0.7513, allocations: 27.88 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.7517, allocations: 126.7 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.7524, allocations: 190.3 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.7534, allocations: 412.7 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.7547, allocations: 0.9632 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/0.7554, allocations: 462.1 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.7559, allocations: 334.8 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.7564, allocations: 338.3 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.7565, allocations: 88 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.7567, allocations: 92 kB / 1.176 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.7568, allocations: 179.4 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.7572, allocations: 394 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.7583, allocations: 1.063 MB / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7584, allocations: 0 / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7584, allocations: 0 / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.642e-05/0.7584, allocations: 0 / 1.177 GB, free: 9.727 MB / 0.9044 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.002184/0.7606, allocations: 1.1 MB / 1.178 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7606, allocations: 12.88 kB / 1.178 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.7608, allocations: 84.42 kB / 1.178 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7618, allocations: 0.581 MB / 1.179 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.7619, allocations: 45.67 kB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.762, allocations: 56.38 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.7632, allocations: 0.6156 MB / 1.18 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.7633, allocations: 3.953 kB / 1.18 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.7634, allocations: 24 kB / 1.18 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.7634, allocations: 12 kB / 1.18 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7644, allocations: 461 kB / 1.18 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.7675, allocations: 1.993 MB / 1.182 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.7684, allocations: 441.5 kB / 1.182 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.7689, allocations: 242.1 kB / 1.183 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.7689, allocations: 4.438 kB / 1.183 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.7695, allocations: 261.3 kB / 1.183 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=49): time 3.025e-06/0.7695, allocations: 0 / 1.183 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49): time 0.001336/0.7709, allocations: 0.5885 MB / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.7709, allocations: 63.84 kB / 1.183 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.7714, allocations: 446.1 kB / 1.184 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.7715, allocations: 37.7 kB / 1.184 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.7717, allocations: 328.9 kB / 1.184 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7719, allocations: 170.5 kB / 1.184 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.772, allocations: 94.23 kB / 1.185 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7722, allocations: 362.8 kB / 1.185 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.7726, allocations: 165 kB / 1.185 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.773, allocations: 253.7 kB / 1.185 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.7739, allocations: 460 kB / 1.186 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7739, allocations: 0 / 1.186 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.775, allocations: 0.5588 MB / 1.186 GB, free: 8 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.7751, allocations: 37.89 kB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7751, allocations: 8 kB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7751, allocations: 4 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.7756, allocations: 111.9 kB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.7756, allocations: 7.938 kB / 1.186 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.776, allocations: 63.53 kB / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.776, allocations: 20 kB / 1.186 GB, free: 15.75 MB / 0.92 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.0002519/0.7763, allocations: 206.9 kB / 1.187 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.7764, allocations: 67.5 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.7765, allocations: 69.56 kB / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7766, allocations: 3.984 kB / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7766, allocations: 0 / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.7767, allocations: 168.6 kB / 1.187 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.7768, allocations: 12 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.7771, allocations: 23.97 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.7772, allocations: 36.39 kB / 1.187 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001346/0.7786, allocations: 0.5582 MB / 1.188 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001458/0.78, allocations: 0.8495 MB / 1.188 GB, free: 13.72 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004086/0.7805, allocations: 207.4 kB / 1.189 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003275/0.7808, allocations: 306.9 kB / 1.189 GB, free: 13.22 MB / 0.92 GB Notification: Performance of Backend: time 5.81e-07/0.7808, allocations: 4 kB / 1.189 GB, free: 13.22 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.7818, allocations: 412.9 kB / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of SimCode: time 0.002399/0.7842, allocations: 1.732 MB / 1.191 GB, free: 11.03 MB / 0.92 GB Notification: Performance of Templates: time 0.01357/0.7977, allocations: 7.075 MB / 1.198 GB, free: 4.027 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches