Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001487/0.001487, allocations: 107.5 kB / 16.41 MB, free: 6.5 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.001721/0.001721, allocations: 192.3 kB / 17.35 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.89 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7263, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005495/0.7319, allocations: 4.143 MB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.7345, allocations: 1.317 MB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.7351, allocations: 23.94 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.7355, allocations: 126.7 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.736, allocations: 174.4 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.737, allocations: 419.9 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.7381, allocations: 0.9593 MB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006894/0.7388, allocations: 458.1 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.7393, allocations: 338.7 kB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.7397, allocations: 330.4 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.7399, allocations: 91.94 kB / 1.217 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.74, allocations: 92 kB / 1.217 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.7402, allocations: 179.4 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.7406, allocations: 394 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009813/0.7416, allocations: 1.061 MB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7416, allocations: 4 kB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7416, allocations: 0 / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.7416, allocations: 0 / 1.218 GB, free: 3.582 MB / 0.9356 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.002025/0.7437, allocations: 1.077 MB / 1.219 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7437, allocations: 8.031 kB / 1.219 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.7439, allocations: 80 kB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.7448, allocations: 0.569 MB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.7448, allocations: 45.69 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.7449, allocations: 52.38 kB / 1.22 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.746, allocations: 0.6117 MB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7461, allocations: 0 / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.7461, allocations: 28 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.7462, allocations: 12 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.7472, allocations: 461 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.75, allocations: 1.993 MB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.7509, allocations: 448.9 kB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.7514, allocations: 238.1 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.7515, allocations: 8.438 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005277/0.752, allocations: 261.2 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 3.326e-06/0.752, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.0013/0.7533, allocations: 0.5882 MB / 1.224 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7534, allocations: 59.84 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.7539, allocations: 442 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.7539, allocations: 37.7 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.7541, allocations: 321 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.7543, allocations: 169.5 kB / 1.225 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.7544, allocations: 90.25 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7546, allocations: 370.7 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.755, allocations: 169 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.7555, allocations: 249.8 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.7563, allocations: 456 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7563, allocations: 0 / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001075/0.7574, allocations: 0.5585 MB / 1.227 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.7574, allocations: 33.64 kB / 1.227 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7574, allocations: 7.984 kB / 1.227 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7575, allocations: 4 kB / 1.227 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.758, allocations: 119.8 kB / 1.227 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.758, allocations: 7.984 kB / 1.227 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.7583, allocations: 55.42 kB / 1.228 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.7584, allocations: 24.22 kB / 1.228 GB, free: 9.672 MB / 0.9512 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.0002482/0.7586, allocations: 209.7 kB / 1.228 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.7587, allocations: 59.28 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.7588, allocations: 61.59 kB / 1.228 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7588, allocations: 3.984 kB / 1.228 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7589, allocations: 0 / 1.228 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.7591, allocations: 172.3 kB / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.7591, allocations: 8 kB / 1.228 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.7594, allocations: 27.97 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.7595, allocations: 32.39 kB / 1.228 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001301/0.7608, allocations: 0.5582 MB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001377/0.7622, allocations: 0.8453 MB / 1.229 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003806/0.7626, allocations: 207.5 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003329/0.7629, allocations: 310.9 kB / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of Backend: time 7.41e-07/0.7629, allocations: 0 / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009302/0.7639, allocations: 422.6 kB / 1.23 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002206/0.7661, allocations: 1.704 MB / 1.232 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of Templates: time 0.01319/0.7793, allocations: 7.258 MB / 1.239 GB, free: 13.79 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches