Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006715/0.006715, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001542/0.001542, allocations: 195.2 kB / 16.68 MB, free: 5.957 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 63.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7616, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001806/0.7635, allocations: 0.8074 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.7647, allocations: 1.155 MB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.7648, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.7648, allocations: 11.88 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.7649, allocations: 11.86 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.7654, allocations: 138.8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.7655, allocations: 151.7 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7657, allocations: 43.92 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.7658, allocations: 59.88 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.7659, allocations: 55.75 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.7659, allocations: 16 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.446e-05/0.766, allocations: 27.98 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.766, allocations: 11.98 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.7661, allocations: 59.77 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.7663, allocations: 151.5 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7663, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7663, allocations: 4 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.7663, allocations: 3.984 kB / 1.21 GB, free: 10.95 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005828/0.7669, allocations: 434.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.7669, allocations: 12.03 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.767, allocations: 8.844 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.7671, allocations: 172.2 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.7671, allocations: 8.312 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.7672, allocations: 16.31 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.7674, allocations: 86.2 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7674, allocations: 192 / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.7674, allocations: 7.938 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7674, allocations: 4 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.7676, allocations: 55.95 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.7681, allocations: 380.5 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.7683, allocations: 50.55 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.7684, allocations: 32.94 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.7684, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.7686, allocations: 91.3 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.7687, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004375/0.7691, allocations: 125.5 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7692, allocations: 51.41 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.7693, allocations: 133.6 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.7693, allocations: 33.7 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.7694, allocations: 100 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.7694, allocations: 19.83 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.7695, allocations: 33.7 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7696, allocations: 318.8 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.7698, allocations: 55.91 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.7699, allocations: 75.39 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.7702, allocations: 116.3 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7702, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004212/0.7707, allocations: 195.2 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.7707, allocations: 41.7 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7707, allocations: 80 / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7707, allocations: 3.984 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.7708, allocations: 12 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7709, allocations: 3.984 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.7711, allocations: 43.8 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.7711, allocations: 8.297 kB / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001032/0.7712, allocations: 125.8 kB / 1.213 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.7712, allocations: 4 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.7713, allocations: 8.375 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7713, allocations: 0 / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7713, allocations: 4 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.7713, allocations: 8.016 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7715, allocations: 189.5 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7715, allocations: 0 / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.7715, allocations: 15.92 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7715, allocations: 7.984 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.7716, allocations: 0 / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7716, allocations: 0 / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7716, allocations: 0 / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.7719, allocations: 125 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.7719, allocations: 81.02 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.7719, allocations: 7.984 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.772, allocations: 12 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.7721, allocations: 23.84 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.7721, allocations: 4 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.7722, allocations: 91.27 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7722, allocations: 0 / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002253/0.7724, allocations: 23.94 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001396/0.7725, allocations: 111.3 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.7729, allocations: 175.3 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7729, allocations: 0 / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.7731, allocations: 43.91 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.7733, allocations: 4 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.7736, allocations: 187 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.7739, allocations: 0.6924 MB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.7739, allocations: 0 / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.7739, allocations: 15.44 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.774, allocations: 0 / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.004199/0.7782, allocations: 1.685 MB / 1.216 GB, free: 4.234 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches