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.001792/0.001792, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002301/0.002301, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.237/3.237, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002259/0.002259, allocations: 65.38 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002885/0.3573, allocations: 1.149 MB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.3601, allocations: 1.42 MB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.3603, allocations: 4 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.3604, allocations: 23.67 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.3606, allocations: 51.59 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.3615, allocations: 297.7 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3621, allocations: 411.8 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.3623, allocations: 96.66 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.3626, allocations: 163.5 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3628, allocations: 155.3 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.3629, allocations: 44 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3631, allocations: 59.98 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.3631, allocations: 59.77 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.3633, allocations: 163.3 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.364, allocations: 490.2 kB / 1.359 GB, free: 3.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.364, allocations: 3.938 kB / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.364, allocations: 0 / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.364, allocations: 0 / 1.359 GB, free: 3.402 MB / 1.045 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.001126/0.3652, allocations: 0.5434 MB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.3652, allocations: 12.03 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3653, allocations: 32.75 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.3661, allocations: 266.1 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.3661, allocations: 24.36 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3662, allocations: 28.38 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.3665, allocations: 174.6 kB / 1.36 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3666, allocations: 0 / 1.36 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3666, allocations: 11.88 kB / 1.36 GB, free: 2.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3666, allocations: 4 kB / 1.36 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.3668, allocations: 112 kB / 1.36 GB, free: 2.137 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3679, allocations: 0.6476 MB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.3684, allocations: 161.1 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3685, allocations: 57.12 kB / 1.361 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3685, allocations: 11.94 kB / 1.361 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.3688, allocations: 131.3 kB / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.3688, allocations: 0 / 1.361 GB, free: 1.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004728/0.3693, allocations: 219.3 kB / 1.361 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3694, allocations: 59.41 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3696, allocations: 214.7 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.3696, allocations: 45.7 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3698, allocations: 144.6 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.3698, allocations: 47.62 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3699, allocations: 77.67 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3701, allocations: 334.8 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3703, allocations: 99.95 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.3706, allocations: 166.7 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.3709, allocations: 207.6 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3709, allocations: 4 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005857/0.3715, allocations: 364.7 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.3715, allocations: 71.33 kB / 1.363 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3716, allocations: 0 / 1.363 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3716, allocations: 4 kB / 1.363 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.3717, allocations: 15.94 kB / 1.363 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3717, allocations: 11.92 kB / 1.363 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.372, allocations: 83.88 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.3721, allocations: 12 kB / 1.363 GB, free: 14.8 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.0001778/0.3723, allocations: 159.7 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.3723, allocations: 27.88 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.3724, allocations: 25.81 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3724, allocations: 3.984 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3724, allocations: 0 / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3724, allocations: 0 / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.3727, allocations: 272.5 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3727, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.3727, allocations: 23.92 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3727, allocations: 3.938 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3728, allocations: 0 / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3728, allocations: 4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3728, allocations: 0 / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3731, allocations: 199.2 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.3731, allocations: 19.86 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.3731, allocations: 11.94 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3732, allocations: 7.984 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.3733, allocations: 35.94 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3733, allocations: 12 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001321/0.3734, allocations: 144.4 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 4 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002864/0.3737, allocations: 67.88 kB / 1.364 GB, free: 13.73 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.0001728/0.3739, allocations: 111.2 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.3744, allocations: 308.5 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3744, allocations: 0 / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3745, allocations: 72.17 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3749, allocations: 39.91 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.3756, allocations: 422.5 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.376, allocations: 0.7402 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.376, allocations: 31.42 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.376, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of Templates: time 0.006493/0.3825, allocations: 3.32 MB / 1.369 GB, free: 8.629 MB / 1.061 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/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.632120857015252]