Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113.8 kB / 16.42 MB, free: 6.469 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.001489/0.001489, allocations: 190.6 kB / 17.35 MB, free: 5.719 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.8299, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005038/0.835, allocations: 3.713 MB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.8377, allocations: 1.325 MB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.8384, allocations: 27.88 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.8389, allocations: 126.6 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007805/0.8397, allocations: 174.5 kB / 1.214 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.8409, allocations: 0.5664 MB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009149/0.8419, allocations: 0.9642 MB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.8423, allocations: 353.6 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.8428, allocations: 374.4 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.8431, allocations: 350.1 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.8432, allocations: 76 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.8433, allocations: 84 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.8435, allocations: 183.2 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.8437, allocations: 377.7 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.8445, allocations: 0.8966 MB / 1.218 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8445, allocations: 0 / 1.218 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8445, allocations: 0 / 1.218 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.8445, allocations: 0 / 1.218 GB, free: 4.027 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00187/0.8464, allocations: 1.18 MB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8465, allocations: 8.031 kB / 1.219 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.8466, allocations: 95.81 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.8475, allocations: 0.6182 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.8477, allocations: 96.95 kB / 1.22 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.8477, allocations: 60.38 kB / 1.22 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.8488, allocations: 0.6041 MB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.8488, allocations: 0 / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.8488, allocations: 20 kB / 1.22 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.8489, allocations: 16 kB / 1.22 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/0.8498, allocations: 423.6 kB / 1.221 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.8523, allocations: 2.098 MB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.8535, allocations: 0.5079 MB / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.854, allocations: 212.8 kB / 1.223 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.854, allocations: 8 kB / 1.223 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/0.8547, allocations: 278.6 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.8547, allocations: 3.938 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001411/0.8561, allocations: 0.6138 MB / 1.224 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8562, allocations: 84.86 kB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.8568, allocations: 0.6139 MB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.8568, allocations: 37.7 kB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.8571, allocations: 356.8 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8572, allocations: 157.8 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.8574, allocations: 98.14 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8575, allocations: 334 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.8579, allocations: 179 kB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.8584, allocations: 284.2 kB / 1.226 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/0.8594, allocations: 470 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8594, allocations: 0 / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001158/0.8606, allocations: 0.6099 MB / 1.227 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.8606, allocations: 33.7 kB / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8606, allocations: 0 / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.8606, allocations: 8 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.8611, allocations: 107.8 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8611, allocations: 4.25 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.8615, allocations: 67.44 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.8616, allocations: 23.98 kB / 1.228 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005311/0.8621, allocations: 305.2 kB / 1.228 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004491/0.8626, allocations: 264.3 kB / 1.228 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007897/0.8634, allocations: 457.9 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.8634, allocations: 0 / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001024/0.8644, allocations: 0.5827 MB / 1.229 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.8644, allocations: 33.7 kB / 1.229 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8645, allocations: 7.984 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.8645, allocations: 4 kB / 1.229 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.8649, allocations: 95.89 kB / 1.229 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.8649, allocations: 15.92 kB / 1.229 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.8653, allocations: 51.56 kB / 1.229 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.8653, allocations: 20 kB / 1.229 GB, free: 7.465 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001474/0.8655, allocations: 216.1 kB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.8656, allocations: 71.14 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.8657, allocations: 87.14 kB / 1.23 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.8657, allocations: 0 / 1.23 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8658, allocations: 3.938 kB / 1.23 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.866, allocations: 192 kB / 1.23 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.866, allocations: 12 kB / 1.23 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.8664, allocations: 39.95 kB / 1.23 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.8666, allocations: 35.89 kB / 1.23 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001333/0.8679, allocations: 0.5523 MB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001477/0.8694, allocations: 0.8854 MB / 1.232 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004298/0.8698, allocations: 207.9 kB / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004447/0.8703, allocations: 431.1 kB / 1.232 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of Backend: time 5.71e-07/0.8703, allocations: 0 / 1.232 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.8718, allocations: 0.7107 MB / 1.233 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002134/0.8739, allocations: 1.679 MB / 1.234 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.01642/0.8904, allocations: 10.82 MB / 1.245 GB, free: 7.52 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches