Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.718/2.718, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001395/0.001395, allocations: 181.1 kB / 498.1 MB, free: 5.68 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.876/1.876, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001097/0.001097, allocations: 90.52 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.5643, allocations: 150 MB / 1.369 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5646, allocations: 83.94 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005437/0.5701, allocations: 1.786 MB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5702, allocations: 4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.5702, allocations: 0 / 1.371 GB, free: 10.28 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007332/0.5709, allocations: 430.9 kB / 1.372 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.571, allocations: 12.03 kB / 1.372 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.571, allocations: 15.86 kB / 1.372 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.5713, allocations: 184.6 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5713, allocations: 4 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.5713, allocations: 8 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.5716, allocations: 104 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5716, allocations: 0 / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5716, allocations: 0 / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5716, allocations: 7.953 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.5718, allocations: 71.97 kB / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.5727, allocations: 420.5 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.5729, allocations: 70.48 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.5729, allocations: 128 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.573, allocations: 38.56 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.573, allocations: 0 / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0003989/0.5734, allocations: 117.6 kB / 1.373 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5734, allocations: 59.39 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5736, allocations: 135.7 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.5736, allocations: 29.7 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.5737, allocations: 104.2 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.5737, allocations: 19.75 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5737, allocations: 3.938 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5739, allocations: 326.8 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.574, allocations: 27.98 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.5741, allocations: 39.97 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.5742, allocations: 27.98 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5742, allocations: 0 / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.5744, allocations: 109.5 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5745, allocations: 4 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5745, allocations: 0 / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5745, allocations: 4 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5746, allocations: 8 kB / 1.373 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5746, allocations: 7.922 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.5748, allocations: 27.97 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.5748, allocations: 8 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001158/0.575, allocations: 125.6 kB / 1.374 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.575, allocations: 11.84 kB / 1.374 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.575, allocations: 12.31 kB / 1.374 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5751, allocations: 0 / 1.374 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5751, allocations: 0 / 1.374 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5751, allocations: 3.984 kB / 1.374 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.5753, allocations: 201.8 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5753, allocations: 4 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.5754, allocations: 15.98 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5754, allocations: 0 / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5754, allocations: 0 / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.5754, allocations: 3.984 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5754, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5757, allocations: 195.4 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.5758, allocations: 88.95 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.5758, allocations: 4 kB / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.576, allocations: 35.97 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.5761, allocations: 11.97 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.5761, allocations: 4 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.775e-05/0.5762, allocations: 112.9 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.5762, allocations: 0 / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002377/0.5765, allocations: 23.84 kB / 1.374 GB, free: 6.762 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001437/0.5766, allocations: 107.2 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.5769, allocations: 75.91 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5769, allocations: 0 / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.577, allocations: 35.98 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.5773, allocations: 11.98 kB / 1.375 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.5778, allocations: 223.1 kB / 1.375 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.5781, allocations: 0.7082 MB / 1.375 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.728e-05/0.5782, allocations: 7.781 kB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.5782, allocations: 11.44 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/0.5782, allocations: 0 / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of Templates: time 0.003851/0.5821, allocations: 1.076 MB / 1.376 GB, free: 4.461 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches