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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 393.5 MB / 408.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187.8 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.984/1.984, allocations: 223.1 MB / 0.7992 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 98.17 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 14.88 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4105, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.6533, allocations: 151.3 MB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6536, allocations: 87.94 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007173/0.6608, allocations: 2.417 MB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.306e-06/0.6608, allocations: 0 / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.6608, allocations: 8 kB / 1.379 GB, free: 15.68 MB / 0.8855 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.0006446/0.6615, allocations: 428.7 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6615, allocations: 8.562 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.6616, allocations: 11.91 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.6618, allocations: 171 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6618, allocations: 12 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.6618, allocations: 8 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.6621, allocations: 85.64 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6621, allocations: 3.938 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.6622, allocations: 8 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6622, allocations: 0 / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.6624, allocations: 71.95 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.6631, allocations: 384.5 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.6633, allocations: 62.48 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.6634, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.6636, allocations: 103.3 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.6637, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0004824/0.6641, allocations: 141.5 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.6642, allocations: 55.41 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.6643, allocations: 112.9 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.6644, allocations: 33.7 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.6645, allocations: 96.03 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.6645, allocations: 15.81 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.6645, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6647, allocations: 326.8 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6648, allocations: 55.97 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.665, allocations: 83.39 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.6652, allocations: 81.7 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6653, allocations: 0 / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004829/0.6657, allocations: 207.3 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.6658, allocations: 41.69 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.6658, allocations: 7.953 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6658, allocations: 0 / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6659, allocations: 11.98 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.666, allocations: 3.938 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.6662, allocations: 55.95 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.6662, allocations: 4 kB / 1.382 GB, free: 12.79 MB / 0.8855 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.6664, allocations: 121.8 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.6664, allocations: 7.891 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.6665, allocations: 16.38 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6665, allocations: 3.953 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6665, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6665, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.6667, allocations: 185.6 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6667, allocations: 3.984 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.6668, allocations: 11.98 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6668, allocations: 4.031 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6668, allocations: 7.938 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6668, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6668, allocations: 7.953 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.6671, allocations: 141.2 kB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.6672, allocations: 77.11 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6672, allocations: 8 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.6673, allocations: 15.98 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.6674, allocations: 11.94 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.6674, allocations: 7.984 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.844e-05/0.6675, allocations: 91.28 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6675, allocations: 0 / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002323/0.6677, allocations: 27.92 kB / 1.383 GB, free: 11.96 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.6679, allocations: 116.2 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004125/0.6683, allocations: 179.3 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6684, allocations: 0 / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6685, allocations: 44.11 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.6687, allocations: 9.297 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.6691, allocations: 208.9 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6695, allocations: 0.6935 MB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.6695, allocations: 8.172 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.6696, allocations: 7.438 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.6696, allocations: 0 / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of Templates: time 0.00446/0.674, allocations: 1.402 MB / 1.385 GB, free: 9.238 MB / 0.8855 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","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches