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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009199/0.0009199, allocations: 181.2 kB / 490.8 MB, free: 1.914 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.065/1.065, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008158/0.0008159, allocations: 98.53 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.371e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6425, allocations: 150.5 MB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.6427, allocations: 67.86 kB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01208/0.6548, allocations: 4.932 MB / 1.363 GB, free: 16.88 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.6548, allocations: 4 kB / 1.363 GB, free: 16.88 MB / 0.823 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.0005072/0.6553, allocations: 0.5454 MB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.6553, allocations: 12.84 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.6554, allocations: 34.44 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.6555, allocations: 211.6 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6556, allocations: 7.188 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.6556, allocations: 22.88 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000197/0.6558, allocations: 111.5 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.656, allocations: 145.5 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6561, allocations: 1.25 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.6561, allocations: 4.688 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6561, allocations: 4.156 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.6569, allocations: 0.6923 MB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.6573, allocations: 167.2 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.6574, allocations: 65.11 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.6574, allocations: 2 kB / 1.365 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.6576, allocations: 124.6 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.6576, allocations: 0 / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0002648/0.6578, allocations: 156 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.6579, allocations: 55.88 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.658, allocations: 192.1 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.6581, allocations: 39.91 kB / 1.366 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.6581, allocations: 124.9 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.6582, allocations: 41.05 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.6582, allocations: 10.69 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6583, allocations: 332.1 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.6585, allocations: 101.5 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.6587, allocations: 157.4 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.659, allocations: 118.7 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.659, allocations: 1.375 kB / 1.367 GB, free: 31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005918/0.6596, allocations: 308.6 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6596, allocations: 8 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6597, allocations: 1.188 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6597, allocations: 2.812 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.6597, allocations: 23.38 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6598, allocations: 2.562 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.6602, allocations: 110.2 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.6602, allocations: 19.59 kB / 1.367 GB, free: 30.92 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 9.048e-05/0.6603, allocations: 125.7 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.6603, allocations: 15.59 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.6604, allocations: 30.95 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6604, allocations: 1.625 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6604, allocations: 1.125 kB / 1.367 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6604, allocations: 5.156 kB / 1.367 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.6606, allocations: 260 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6606, allocations: 0 / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.6607, allocations: 18.94 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6607, allocations: 5.188 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6607, allocations: 2.75 kB / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6607, allocations: 0 / 1.368 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6607, allocations: 6.422 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/0.6609, allocations: 186.4 kB / 1.368 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.6609, allocations: 93.66 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.661, allocations: 2.875 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6611, allocations: 19.05 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.6612, allocations: 37.73 kB / 1.368 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.6612, allocations: 13.94 kB / 1.368 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.189e-05/0.6613, allocations: 140.1 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002502/0.6615, allocations: 57.38 kB / 1.368 GB, free: 30.34 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.0001293/0.6617, allocations: 119.1 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.662, allocations: 281.9 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.6621, allocations: 0 / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.6622, allocations: 76.66 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.6624, allocations: 34.59 kB / 1.369 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.6628, allocations: 250.9 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.6632, allocations: 0.7698 MB / 1.37 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6632, allocations: 3.938 kB / 1.37 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of Templates: time 0.005884/0.669, allocations: 3.247 MB / 1.373 GB, free: 29.1 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