Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 12 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7656, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001818/0.7675, allocations: 0.8166 MB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.7695, allocations: 1.343 MB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.7696, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.7697, allocations: 11.86 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.7698, allocations: 31.72 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.7706, allocations: 231 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.7709, allocations: 343.9 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.7711, allocations: 86.64 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.7713, allocations: 115.5 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.7714, allocations: 107.5 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.7715, allocations: 12 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.7716, allocations: 27.92 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.7716, allocations: 35.84 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.7717, allocations: 69.58 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.7721, allocations: 361 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7721, allocations: 8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7721, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.7721, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 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.0008321/0.7729, allocations: 0.5563 MB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.773, allocations: 12.56 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/0.7731, allocations: 39.7 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.7738, allocations: 319.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.7738, allocations: 20 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.7739, allocations: 39.88 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.7742, allocations: 173.5 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7743, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.7743, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7743, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.7745, allocations: 115.9 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.7757, allocations: 0.7108 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.7761, allocations: 166.7 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.7762, allocations: 64.84 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.7763, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.7765, allocations: 137 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.7765, allocations: 0 / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004704/0.777, allocations: 213.4 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.7771, allocations: 59.36 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.7773, allocations: 210.8 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.7773, allocations: 41.7 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7775, allocations: 152.6 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.7775, allocations: 43.36 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.7776, allocations: 8 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7777, allocations: 334.8 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.7779, allocations: 95.95 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.7782, allocations: 170.9 kB / 1.029 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.7784, allocations: 137.1 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7785, allocations: 0 / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000584/0.779, allocations: 361.5 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.7791, allocations: 67.52 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7791, allocations: 4 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7792, allocations: 4 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.7793, allocations: 19.97 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.7793, allocations: 7.953 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.7797, allocations: 107.8 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.7797, allocations: 15.98 kB / 1.03 GB, free: 7.82 MB / 0.7794 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$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.000169/0.7799, allocations: 159.5 kB / 1.03 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.7799, allocations: 19.72 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.78, allocations: 25.86 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.78, allocations: 0 / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.78, allocations: 4 kB / 1.03 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.78, allocations: 3.953 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.7803, allocations: 289.5 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7803, allocations: 4 kB / 1.031 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.7804, allocations: 19.98 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.7804, allocations: 0 / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7804, allocations: 0 / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7804, allocations: 4 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7804, allocations: 0 / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.7807, allocations: 202.4 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.7808, allocations: 96.92 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.7808, allocations: 4 kB / 1.031 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.7809, allocations: 19.98 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.781, allocations: 35.94 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.7811, allocations: 11.98 kB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001171/0.7812, allocations: 148.2 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7812, allocations: 0 / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00028/0.7815, allocations: 59.84 kB / 1.031 GB, free: 6.645 MB / 0.7794 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.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,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.0001844/0.7817, allocations: 128 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.7822, allocations: 337 kB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7822, allocations: 0 / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.7823, allocations: 71.92 kB / 1.032 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.7827, allocations: 48.16 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.7834, allocations: 434.1 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.7838, allocations: 0.7443 MB / 1.033 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.7839, allocations: 25.95 kB / 1.033 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.784, allocations: 23.42 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.784, allocations: 0 / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.007568/0.7916, allocations: 3.074 MB / 1.036 GB, free: 1.734 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches