Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001128/0.001128, allocations: 191.3 kB / 498.1 MB, free: 5.734 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.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0008989/0.0008989, allocations: 96.33 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 15.94 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.5098, allocations: 150.5 MB / 1.37 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5101, allocations: 75.95 kB / 1.37 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.5245, allocations: 5.248 MB / 1.375 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5246, allocations: 0 / 1.375 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.5246, allocations: 4 kB / 1.375 GB, free: 13.57 MB / 0.8855 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.0009746/0.5256, allocations: 0.5739 MB / 1.376 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.5256, allocations: 8.031 kB / 1.376 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.5258, allocations: 31.72 kB / 1.376 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.526, allocations: 218.4 kB / 1.376 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.5261, allocations: 20 kB / 1.376 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.5262, allocations: 24 kB / 1.376 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.5266, allocations: 177.5 kB / 1.376 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5266, allocations: 0 / 1.376 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5266, allocations: 4 kB / 1.376 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5266, allocations: 8 kB / 1.376 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.5269, allocations: 131.9 kB / 1.376 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.5282, allocations: 0.7304 MB / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.5287, allocations: 182.8 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.5288, allocations: 4 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.5291, allocations: 141 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 2.845e-06/0.5291, allocations: 3.938 kB / 1.377 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.000499/0.5296, allocations: 234.9 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.5297, allocations: 59.41 kB / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.5299, allocations: 202 kB / 1.378 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.5299, allocations: 37.7 kB / 1.378 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.53, allocations: 144.5 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.5301, allocations: 51.62 kB / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5301, allocations: 4 kB / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5303, allocations: 334.8 kB / 1.378 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5305, allocations: 116 kB / 1.378 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.5307, allocations: 172 kB / 1.378 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.531, allocations: 159.5 kB / 1.379 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.531, allocations: 4 kB / 1.379 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006121/0.5316, allocations: 382.9 kB / 1.379 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.5317, allocations: 71.39 kB / 1.379 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5317, allocations: 0 / 1.379 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5317, allocations: 7.938 kB / 1.379 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.5318, allocations: 19.94 kB / 1.379 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5318, allocations: 7.984 kB / 1.379 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.5322, allocations: 99.95 kB / 1.379 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.5323, allocations: 19.98 kB / 1.379 GB, free: 8.961 MB / 0.8855 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 () * Number of clocked 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.0001552/0.5325, allocations: 147.5 kB / 1.379 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.5325, allocations: 27.7 kB / 1.379 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.5326, allocations: 25.86 kB / 1.379 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5326, allocations: 8 kB / 1.379 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5326, allocations: 0 / 1.379 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5326, allocations: 0 / 1.379 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.5329, allocations: 301.4 kB / 1.38 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5329, allocations: 4 kB / 1.38 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.533, allocations: 19.92 kB / 1.38 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.533, allocations: 0 / 1.38 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.533, allocations: 7.953 kB / 1.38 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.533, allocations: 4 kB / 1.38 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.533, allocations: 0 / 1.38 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.5333, allocations: 205.7 kB / 1.38 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.5334, allocations: 96.83 kB / 1.38 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.5334, allocations: 8 kB / 1.38 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.5335, allocations: 23.92 kB / 1.38 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.5336, allocations: 39.89 kB / 1.38 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.5336, allocations: 7.984 kB / 1.38 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001253/0.5338, allocations: 152.6 kB / 1.38 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5338, allocations: 0 / 1.38 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002938/0.5341, allocations: 63.94 kB / 1.38 GB, free: 7.746 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: 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) * Number of clocked states: 0 () * 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.0001976/0.5343, allocations: 135.2 kB / 1.38 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.5348, allocations: 361.4 kB / 1.381 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5348, allocations: 256 / 1.381 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.535, allocations: 92.59 kB / 1.381 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5352, allocations: 39.7 kB / 1.381 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.536, allocations: 434.2 kB / 1.381 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.5363, allocations: 0.7482 MB / 1.382 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.912e-05/0.5364, allocations: 25.89 kB / 1.382 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.5364, allocations: 23.42 kB / 1.382 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of SimCode: time 4.3e-07/0.5365, allocations: 0 / 1.382 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of Templates: time 0.006527/0.543, allocations: 3.262 MB / 1.385 GB, free: 2.605 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches