Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.596/2.596, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.00218/0.00218, allocations: 171.4 kB / 498.1 MB, free: 5.688 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.908/1.908, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001009/0.001009, allocations: 102.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 10.38 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4157, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.6411, allocations: 150.5 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.6415, allocations: 91.88 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007029/0.6485, allocations: 2.429 MB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6486, allocations: 0 / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6486, allocations: 0 / 1.372 GB, free: 9.133 MB / 0.8698 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.0006982/0.6493, allocations: 428.8 kB / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.6494, allocations: 16.02 kB / 1.373 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.6494, allocations: 7.906 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.6496, allocations: 171 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.6497, allocations: 8 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.6497, allocations: 8 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.65, allocations: 101.5 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.65, allocations: 0 / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.65, allocations: 0 / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.65, allocations: 4 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.6503, allocations: 75.94 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.651, allocations: 384.5 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.6512, allocations: 62.55 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.6512, allocations: 0 / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.6515, allocations: 87.41 kB / 1.374 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.6515, allocations: 4 kB / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0004743/0.652, allocations: 145.5 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.652, allocations: 51.41 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.6522, allocations: 116.9 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.6522, allocations: 33.7 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.6523, allocations: 100 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.6523, allocations: 7.906 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.6524, allocations: 4 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6525, allocations: 318.8 kB / 1.374 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6527, allocations: 55.95 kB / 1.374 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6529, allocations: 91.33 kB / 1.374 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.6531, allocations: 85.61 kB / 1.375 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6531, allocations: 4.031 kB / 1.375 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004208/0.6535, allocations: 195.2 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.6535, allocations: 37.69 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6536, allocations: 3.953 kB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.6536, allocations: 4.062 kB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6537, allocations: 19.98 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6537, allocations: 0 / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.654, allocations: 51.95 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.654, allocations: 8 kB / 1.375 GB, free: 6.246 MB / 0.8698 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.0001155/0.6541, allocations: 125.1 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.6542, allocations: 7.906 kB / 1.375 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.6542, allocations: 16.36 kB / 1.375 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.6542, allocations: 7.891 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6542, allocations: 0 / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6542, allocations: 0 / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.6544, allocations: 193.6 kB / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6544, allocations: 0 / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.6545, allocations: 8 kB / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6545, allocations: 0 / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6545, allocations: 3.984 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6545, allocations: 4 kB / 1.375 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6546, allocations: 3.953 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.6548, allocations: 133.3 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.6549, allocations: 89 kB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.6549, allocations: 4 kB / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.655, allocations: 15.98 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.6551, allocations: 19.88 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.6551, allocations: 0 / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.6552, allocations: 99.27 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.62e-07/0.6552, allocations: 0 / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002246/0.6554, allocations: 32.05 kB / 1.376 GB, free: 5.402 MB / 0.8698 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.0002075/0.6556, allocations: 111.2 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.656, allocations: 183.3 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6561, allocations: 96 / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.6562, allocations: 39.92 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.6564, allocations: 16.88 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.6568, allocations: 201 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.6571, allocations: 0.7043 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.6572, allocations: 192 / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.6572, allocations: 15.42 kB / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.6572, allocations: 0 / 1.377 GB, free: 4.066 MB / 0.8698 GB Notification: Performance of Templates: time 0.004405/0.6616, allocations: 1.381 MB / 1.378 GB, free: 2.699 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches