Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001452/0.001452, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001603/0.001603, allocations: 214 kB / 22.25 MB, free: 4.855 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.456/3.456, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002242/0.002242, allocations: 67.19 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4369, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002924/0.4399, allocations: 1.097 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.442, allocations: 1.396 MB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.4422, allocations: 8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.684e-05/0.4422, allocations: 23.67 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.4424, allocations: 39.61 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.4432, allocations: 301.6 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.4436, allocations: 407.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.4438, allocations: 84.78 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.444, allocations: 163.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.4443, allocations: 139.4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.4443, allocations: 44 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4444, allocations: 56 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.4445, allocations: 63.77 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4447, allocations: 135.5 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.4453, allocations: 494.2 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4453, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4453, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4453, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 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.001003/0.4463, allocations: 0.5395 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4463, allocations: 12.03 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.4464, allocations: 28.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.4472, allocations: 265.9 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.4472, allocations: 20.38 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.4473, allocations: 28.38 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.4476, allocations: 178.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4476, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4476, allocations: 12 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4476, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.4479, allocations: 112 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.4489, allocations: 0.5545 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.4493, allocations: 147.6 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.4495, allocations: 63.08 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.4495, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.4498, allocations: 139.2 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.4498, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004783/0.4503, allocations: 220.2 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4503, allocations: 55.41 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4506, allocations: 214.9 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.4506, allocations: 41.69 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.4507, allocations: 140.6 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.4508, allocations: 51.58 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.4509, allocations: 81.67 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4511, allocations: 330.8 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4514, allocations: 171.3 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.4517, allocations: 307.2 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.452, allocations: 211.3 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.452, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006759/0.4527, allocations: 440 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.4528, allocations: 63.39 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4528, allocations: 0 / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4528, allocations: 11.88 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.4529, allocations: 20 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4529, allocations: 4 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.4533, allocations: 87.86 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4533, allocations: 8 kB / 1.334 GB, free: 8.652 MB / 1.029 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.0001886/0.4535, allocations: 156.1 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.4536, allocations: 19.86 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.4536, allocations: 25.75 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4536, allocations: 0 / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4536, allocations: 4 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4536, allocations: 7.984 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.4539, allocations: 197.2 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4539, allocations: 4 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.4539, allocations: 15.92 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4539, allocations: 4 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.454, allocations: 4 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.454, allocations: 3.938 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.454, allocations: 4 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.4543, allocations: 194.7 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.4543, allocations: 23.78 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.4543, allocations: 15.98 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.4544, allocations: 19.92 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.4545, allocations: 31.94 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4545, allocations: 8 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001385/0.4547, allocations: 148.4 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4547, allocations: 0 / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002965/0.455, allocations: 55.89 kB / 1.335 GB, free: 7.672 MB / 1.029 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.0001992/0.4552, allocations: 119.2 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.4557, allocations: 379.5 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4557, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.4559, allocations: 71.91 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4562, allocations: 33.8 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.4569, allocations: 398 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.4571, allocations: 126.2 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.315e-05/0.4572, allocations: 29.94 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.4573, allocations: 27.36 kB / 1.336 GB, free: 6.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4573, allocations: 0 / 1.336 GB, free: 6.418 MB / 1.029 GB Notification: Performance of Templates: time 0.008903/0.4662, allocations: 3.916 MB / 1.34 GB, free: 2.562 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.818851770833135]