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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001327/0.001327, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.479/2.479, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.09 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7253, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002511/0.7279, allocations: 1.154 MB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.7297, allocations: 1.373 MB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.7299, allocations: 4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.776e-05/0.73, allocations: 27.61 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.7302, allocations: 43.59 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.731, allocations: 298.5 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.7315, allocations: 423.8 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.7317, allocations: 116.2 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.732, allocations: 159.5 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.7322, allocations: 155.3 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.7323, allocations: 48 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.7324, allocations: 59.98 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.7325, allocations: 59.77 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.7326, allocations: 163.3 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.7331, allocations: 486.3 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7331, allocations: 0 / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7331, allocations: 4 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7331, allocations: 0 / 1.213 GB, free: 9.156 MB / 0.9356 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.0009171/0.7341, allocations: 0.6128 MB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7341, allocations: 8.031 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.7342, allocations: 28.66 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.7349, allocations: 339.5 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.7349, allocations: 16.38 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.735, allocations: 28.38 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.7353, allocations: 173.9 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7353, allocations: 3.938 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.7353, allocations: 8 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7353, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.7355, allocations: 115.9 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.7365, allocations: 0.6951 MB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.7368, allocations: 162.8 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.737, allocations: 68.83 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.737, allocations: 0 / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.7372, allocations: 137.3 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.7372, allocations: 0 / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004068/0.7376, allocations: 221.2 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7377, allocations: 59.41 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.7378, allocations: 212.1 kB / 1.216 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.7379, allocations: 33.7 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.738, allocations: 152.6 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.738, allocations: 43.45 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.7382, allocations: 77.67 kB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7383, allocations: 330.8 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.7385, allocations: 99.94 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.7387, allocations: 164.1 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.739, allocations: 223.7 kB / 1.217 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.739, allocations: 0 / 1.217 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005289/0.7396, allocations: 352.7 kB / 1.217 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.7396, allocations: 71.33 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7396, allocations: 0 / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7396, allocations: 4 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.7397, allocations: 19.92 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7397, allocations: 7.984 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.7401, allocations: 79.89 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.7402, allocations: 15.98 kB / 1.217 GB, free: 4.348 MB / 0.9356 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,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.7403, allocations: 151.5 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.7404, allocations: 27.75 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.7404, allocations: 25.86 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7404, allocations: 0 / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7404, allocations: 0 / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.7405, allocations: 4 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.7407, allocations: 301.3 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7407, allocations: 7.984 kB / 1.218 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.7408, allocations: 15.94 kB / 1.218 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.7408, allocations: 3.938 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.7408, allocations: 0 / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.7408, allocations: 11.98 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7408, allocations: 0 / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.7411, allocations: 190.8 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.7411, allocations: 100.8 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.7412, allocations: 15.86 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.7413, allocations: 11.98 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.7413, allocations: 35.95 kB / 1.218 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.7414, allocations: 8 kB / 1.218 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001093/0.7415, allocations: 151.1 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7415, allocations: 0 / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000271/0.7418, allocations: 55.91 kB / 1.218 GB, free: 3.164 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.7419, allocations: 127.1 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.7424, allocations: 330.9 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7424, allocations: 4.062 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.7425, allocations: 82.31 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.7428, allocations: 41.53 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.7434, allocations: 405.8 kB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.7437, allocations: 0.744 MB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.7438, allocations: 27.44 kB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.7438, allocations: 0 / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.005492/0.7493, allocations: 3.323 MB / 1.223 GB, free: 14.02 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches