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.001465/0.001465, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001798/0.001798, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 8.023 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.518/3.518, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 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.002209/0.002209, allocations: 67.72 kB / 1.184 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4675, allocations: 181.4 MB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003003/0.4705, allocations: 1.16 MB / 1.363 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.4728, allocations: 1.421 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.473, allocations: 4 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.666e-05/0.4731, allocations: 23.67 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.4732, allocations: 51.58 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.4741, allocations: 303 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.4746, allocations: 403.8 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.4748, allocations: 88.78 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.4751, allocations: 163.5 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.4753, allocations: 155.4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.4754, allocations: 44 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.4755, allocations: 59.98 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.4756, allocations: 59.72 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.4758, allocations: 163.3 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.4764, allocations: 494.2 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4764, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4765, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4765, allocations: 0 / 1.366 GB, free: 11.6 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.001092/0.4776, allocations: 0.5434 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4776, allocations: 8.031 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4777, allocations: 36.75 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.4784, allocations: 266 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.4785, allocations: 16.38 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.4785, allocations: 32.38 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.4789, allocations: 178.5 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4789, allocations: 3.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.4789, allocations: 8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4789, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4791, allocations: 115.9 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.4803, allocations: 0.6515 MB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.4807, allocations: 154.8 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4809, allocations: 61.12 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4809, allocations: 7.938 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.4812, allocations: 135.2 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4812, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005077/0.4817, allocations: 219.2 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.4818, allocations: 59.41 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4821, allocations: 214.7 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.4821, allocations: 37.7 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4822, allocations: 152.6 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.4823, allocations: 51.56 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4825, allocations: 77.67 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4826, allocations: 334.8 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.4828, allocations: 95.95 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.4831, allocations: 166.8 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.4835, allocations: 212 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4835, allocations: 0 / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006275/0.4841, allocations: 364.7 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.4842, allocations: 75.33 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4842, allocations: 4 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4842, allocations: 3.938 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.4843, allocations: 16 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4843, allocations: 3.938 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.4847, allocations: 87.88 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.4847, allocations: 12 kB / 1.37 GB, free: 6.988 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.0001983/0.4849, allocations: 151.6 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.485, allocations: 19.84 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.485, allocations: 21.81 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.485, allocations: 8 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.485, allocations: 3.938 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.485, allocations: 3.984 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.4854, allocations: 268.5 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4854, allocations: 0 / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.4854, allocations: 16 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.4854, allocations: 3.938 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4855, allocations: 7.984 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4855, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4855, allocations: 3.938 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4858, allocations: 202.6 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.4858, allocations: 23.86 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.4859, allocations: 7.938 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.486, allocations: 11.98 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4861, allocations: 35.94 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.4861, allocations: 4 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001499/0.4862, allocations: 148.4 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4862, allocations: 0 / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000321/0.4865, allocations: 67.89 kB / 1.371 GB, free: 5.93 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.0002039/0.4867, allocations: 107.2 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000605/0.4874, allocations: 312 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4874, allocations: 0 / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4875, allocations: 70.06 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4879, allocations: 45.84 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.4887, allocations: 375.9 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.4892, allocations: 0.748 MB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.139e-05/0.4893, allocations: 25.94 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.4894, allocations: 31.36 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/0.4894, allocations: 0 / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of Templates: time 0.009147/0.4985, allocations: 3.582 MB / 1.376 GB, free: 0.6094 MB / 1.061 GB " [Timeout remaining time 299] 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: 10.190760204102844]