Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.84/2.84, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001566/0.001566, allocations: 182.5 kB / 0.4902 GB, free: 2.277 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.944/1.944, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.001188/0.001188, allocations: 102.3 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004123, allocations: 6.969 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.5364, allocations: 150.8 MB / 1.376 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5367, allocations: 91.92 kB / 1.377 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005198/0.5419, allocations: 1.768 MB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.968e-06/0.542, allocations: 4 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.542, allocations: 7.938 kB / 1.378 GB, free: 0.7891 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.0006979/0.5427, allocations: 438.9 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5427, allocations: 12.52 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.5428, allocations: 15.86 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.543, allocations: 175.6 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.543, allocations: 8 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.543, allocations: 8 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.5433, allocations: 97.66 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5433, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5433, allocations: 8 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5433, allocations: 3.953 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.5435, allocations: 79.89 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.5443, allocations: 412.5 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5445, allocations: 58.56 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.5445, allocations: 0 / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5445, allocations: 38.69 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.5446, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0004006/0.545, allocations: 129.6 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.545, allocations: 55.41 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.5451, allocations: 140.9 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5452, allocations: 29.7 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.5452, allocations: 108 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.5453, allocations: 11.91 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.5453, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5454, allocations: 322.8 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.5455, allocations: 35.98 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.5456, allocations: 39.91 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/0.5457, allocations: 24.16 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5457, allocations: 3.984 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002242/0.5459, allocations: 109.5 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5459, allocations: 8 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.546, allocations: 4.062 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.546, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.5461, allocations: 15.92 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5461, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5463, allocations: 35.88 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.5463, allocations: 4 kB / 1.381 GB, free: 14.19 MB / 0.8855 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 9.425e-05/0.5464, allocations: 121.8 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5464, allocations: 7.906 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.5465, allocations: 16.3 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5465, allocations: 4 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5465, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5465, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.5467, allocations: 209.5 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5467, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.5468, allocations: 15.92 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5468, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5468, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5468, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5468, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.5471, allocations: 197.3 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.5472, allocations: 84.97 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.5472, allocations: 4 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5474, allocations: 27.97 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.5475, allocations: 19.97 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.5475, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.208e-05/0.5476, allocations: 119.1 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5476, allocations: 0 / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002145/0.5478, allocations: 16 kB / 1.381 GB, free: 13.27 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: 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.0001199/0.5479, allocations: 108 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5481, allocations: 71.95 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5482, allocations: 0 / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.5483, allocations: 44.05 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5485, allocations: 13.25 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.5489, allocations: 238.9 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.5492, allocations: 0.7004 MB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.5493, allocations: 23.69 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.5493, allocations: 11.44 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.5494, allocations: 0 / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.003239/0.5526, allocations: 1.058 MB / 1.384 GB, free: 10.96 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches