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.001377/0.001377, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001502/0.001502, allocations: 211.1 kB / 23 MB, free: 4.934 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002094/0.002094, allocations: 63.53 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3945, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002868/0.3974, allocations: 1.105 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3996, allocations: 1.397 MB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.3998, allocations: 4 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.3999, allocations: 23.67 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.4001, allocations: 47.59 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.4009, allocations: 297.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.4014, allocations: 411.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.4017, allocations: 88.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.4019, allocations: 159.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.4022, allocations: 151.4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.4023, allocations: 48 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.4024, allocations: 56 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.4025, allocations: 63.75 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.4026, allocations: 139.5 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.4032, allocations: 494.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4032, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4032, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4032, allocations: 4 kB / 1.331 GB, free: 12.56 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.001045/0.4043, allocations: 0.5404 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4043, allocations: 8.031 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.4044, allocations: 32.8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.4052, allocations: 277.8 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.4052, allocations: 20.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.4053, allocations: 24.38 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.4056, allocations: 174.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4056, allocations: 7.938 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.4056, allocations: 8 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4057, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.4059, allocations: 112 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.4069, allocations: 0.5468 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.4073, allocations: 146.8 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4075, allocations: 65.11 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4075, allocations: 3.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.4078, allocations: 131.3 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.4078, allocations: 4 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004791/0.4083, allocations: 223 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4083, allocations: 55.41 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.4085, allocations: 214.9 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.4086, allocations: 37.69 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4087, allocations: 148.5 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.4088, allocations: 51.58 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.4089, allocations: 77.67 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4091, allocations: 334.8 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.4093, allocations: 163.3 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4097, allocations: 309 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.41, allocations: 213.1 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.41, allocations: 4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006632/0.4106, allocations: 431.2 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.4107, allocations: 67.39 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4107, allocations: 0 / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4107, allocations: 12.06 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.4108, allocations: 12 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4108, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.4112, allocations: 79.8 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.4113, allocations: 19.94 kB / 1.336 GB, free: 7.766 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.0001835/0.4114, allocations: 152.1 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.4115, allocations: 19.86 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.4115, allocations: 29.81 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4116, allocations: 7.922 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4116, allocations: 0 / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4116, allocations: 19.8 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.4116, allocations: 8 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.4117, allocations: 11.98 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.4118, allocations: 39.94 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003624/0.4122, allocations: 246.5 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000377/0.4126, allocations: 352.2 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001263/0.4127, allocations: 55.97 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001347/0.4128, allocations: 156.3 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4128, allocations: 0 / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008304/0.4136, allocations: 406.7 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of SimCode: time 0.001022/0.4147, allocations: 0.8085 MB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of Templates: time 0.008913/0.4236, allocations: 4.277 MB / 1.342 GB, free: 1.156 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/jenkins1/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.29071242200007]