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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 213.7 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.451/3.451, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.67 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4283, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002558/0.4308, allocations: 1.09 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.4329, allocations: 1.394 MB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.433, allocations: 4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.086e-05/0.4331, allocations: 23.67 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.4333, allocations: 51.59 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.434, allocations: 300.5 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.4345, allocations: 411.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.4347, allocations: 77.89 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.4349, allocations: 159.5 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.4351, allocations: 139.3 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.4352, allocations: 48 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.4353, allocations: 63.98 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.4354, allocations: 59.83 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.4356, allocations: 139.4 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.4361, allocations: 490.2 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4361, allocations: 3.938 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4361, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.4361, allocations: 0 / 1.368 GB, free: 9.188 MB / 1.061 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.0009307/0.4371, allocations: 0.5395 MB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4371, allocations: 8.031 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.4372, allocations: 44.73 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.4379, allocations: 262.1 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.4379, allocations: 24.38 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.4379, allocations: 28.36 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.4383, allocations: 174.6 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4383, allocations: 0 / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4383, allocations: 8 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.4383, allocations: 4 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.4385, allocations: 123.9 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.4395, allocations: 0.5312 MB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.4399, allocations: 153.1 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.44, allocations: 61.11 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.44, allocations: 3.938 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/0.4404, allocations: 135.3 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4404, allocations: 0 / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.000481/0.4409, allocations: 226.9 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4409, allocations: 55.41 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4412, allocations: 218.7 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.4412, allocations: 33.7 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4413, allocations: 152.5 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.4414, allocations: 55.56 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.4415, allocations: 77.67 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4417, allocations: 334.8 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.4419, allocations: 163.4 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.4423, allocations: 307.8 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.4426, allocations: 213.8 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4426, allocations: 0 / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006441/0.4432, allocations: 428.7 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.4433, allocations: 67.52 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4433, allocations: 0 / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4433, allocations: 7.938 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.4434, allocations: 19.92 kB / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.4434, allocations: 4 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.4438, allocations: 71.81 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.4438, allocations: 23.98 kB / 1.373 GB, free: 4.387 MB / 1.061 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.0001708/0.444, allocations: 147.8 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.4441, allocations: 19.91 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.4441, allocations: 41.7 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4441, allocations: 0 / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4441, allocations: 0 / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4441, allocations: 0 / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.4444, allocations: 205.1 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4444, allocations: 4 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.4444, allocations: 15.98 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4444, allocations: 4 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4444, allocations: 0 / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4445, allocations: 7.875 kB / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4445, allocations: 0 / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4448, allocations: 210.6 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.4448, allocations: 11.91 kB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.4448, allocations: 8 kB / 1.373 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.4449, allocations: 19.92 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.445, allocations: 35.94 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.445, allocations: 15.92 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001341/0.4452, allocations: 144.4 kB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4452, allocations: 4 kB / 1.373 GB, free: 3.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000277/0.4454, allocations: 59.84 kB / 1.373 GB, free: 3.398 MB / 1.061 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.0001662/0.4456, allocations: 111.2 kB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.4462, allocations: 378 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4462, allocations: 0 / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.4463, allocations: 66.33 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4466, allocations: 40.52 kB / 1.374 GB, free: 2.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.4473, allocations: 383.9 kB / 1.374 GB, free: 2.367 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.4474, allocations: 142.4 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.4475, allocations: 25.89 kB / 1.375 GB, free: 2.184 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.4475, allocations: 31.42 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4475, allocations: 0 / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of Templates: time 0.008132/0.4557, allocations: 3.907 MB / 1.378 GB, free: 14.31 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.794025951996446]