Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.92 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.00142/0.00142, allocations: 190.4 kB / 491.2 MB, free: 1.551 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.592/1.592, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.00104/0.00104, allocations: 105.5 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.459e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.522, allocations: 150.5 MB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.522, allocations: 70.8 kB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.536, allocations: 5.202 MB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.536, allocations: 0 / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.536, allocations: 7.812 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006342/1.537, allocations: 0.5394 MB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.537, allocations: 11.56 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.444e-05/1.537, allocations: 31 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.537, allocations: 209.1 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.537, allocations: 7.656 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/1.537, allocations: 22.41 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/1.537, allocations: 108.8 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/1.538, allocations: 150.1 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.538, allocations: 4 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.538, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.538, allocations: 3.844 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/1.539, allocations: 0.6781 MB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/1.539, allocations: 165.4 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/1.539, allocations: 72.8 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/1.539, allocations: 0 / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/1.539, allocations: 141.6 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/1.539, allocations: 0 / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003012/1.54, allocations: 167.1 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/1.54, allocations: 55.28 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/1.54, allocations: 188.7 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/1.54, allocations: 35.55 kB / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/1.54, allocations: 153 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/1.54, allocations: 42.48 kB / 1.367 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/1.54, allocations: 3.875 kB / 1.367 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.54, allocations: 335 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/1.54, allocations: 103.6 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/1.54, allocations: 150.8 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/1.541, allocations: 117.4 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.541, allocations: 0 / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005718/1.541, allocations: 315.2 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/1.541, allocations: 72.55 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.541, allocations: 0 / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.542, allocations: 3.969 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/1.542, allocations: 18.23 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.542, allocations: 14.38 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/1.542, allocations: 102 kB / 1.368 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/1.542, allocations: 14.92 kB / 1.368 GB, free: 30.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001197/1.542, allocations: 125.4 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/1.542, allocations: 15.62 kB / 1.369 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/1.542, allocations: 27.39 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.542, allocations: 4 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.542, allocations: 0 / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.542, allocations: 7.047 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/1.543, allocations: 263.3 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.543, allocations: 0 / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/1.543, allocations: 18.7 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.543, allocations: 0 / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.543, allocations: 10.89 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.543, allocations: 0 / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.543, allocations: 0 / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/1.543, allocations: 197.8 kB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/1.543, allocations: 91.38 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/1.543, allocations: 6.719 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/1.543, allocations: 21.39 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/1.543, allocations: 33.14 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.543, allocations: 7.156 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.718e-05/1.543, allocations: 143.6 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.001e-06/1.543, allocations: 0 / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002604/1.544, allocations: 64.38 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001752/1.544, allocations: 116.9 kB / 1.369 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003984/1.544, allocations: 354.7 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.544, allocations: 0 / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.544, allocations: 80.11 kB / 1.37 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.544, allocations: 31.95 kB / 1.37 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/1.545, allocations: 259 kB / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.545, allocations: 0.7424 MB / 1.371 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.851e-05/1.545, allocations: 24.11 kB / 1.371 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/1.545, allocations: 25.62 kB / 1.371 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.545, allocations: 0 / 1.371 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.005967/1.551, allocations: 3.017 MB / 1.374 GB, free: 29.05 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches