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.001914/0.001914, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00274/0.00274, allocations: 217.4 kB / 22.25 MB, free: 5.078 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 8 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.433/3.433, allocations: 0.4899 GB / 0.7951 GB, free: 33.35 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.002135/0.002135, allocations: 64.66 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002824/0.3866, allocations: 1.171 MB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3887, allocations: 1.42 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3888, allocations: 8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.333e-05/0.3889, allocations: 23.67 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.389, allocations: 51.59 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.3899, allocations: 295.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.3904, allocations: 411.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.3906, allocations: 80.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.3908, allocations: 163.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.3911, allocations: 155.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.3912, allocations: 44 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3913, allocations: 59.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.3914, allocations: 67.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3915, allocations: 155.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.3922, allocations: 498.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.87 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.0009846/0.3932, allocations: 0.5395 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3932, allocations: 12.03 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3933, allocations: 32.78 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.394, allocations: 269.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.394, allocations: 20.38 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.3941, allocations: 32.31 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.3944, allocations: 182.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3944, allocations: 3.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3944, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3944, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.3946, allocations: 115.9 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3956, allocations: 0.6515 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3961, allocations: 146.8 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3962, allocations: 65.11 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3962, allocations: 7.938 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.3965, allocations: 131.3 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/0.3965, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004377/0.3969, allocations: 219.2 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.397, allocations: 55.41 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3972, allocations: 222.7 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.3972, allocations: 37.7 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3974, allocations: 144.6 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3974, allocations: 55.56 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3976, allocations: 77.67 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3977, allocations: 334.8 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3979, allocations: 107.9 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3982, allocations: 158.8 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.3985, allocations: 211.8 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3985, allocations: 0 / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005967/0.3991, allocations: 368.7 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.3992, allocations: 69.2 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3992, allocations: 3.938 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3992, allocations: 4 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.3993, allocations: 19.98 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3993, allocations: 7.938 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3996, allocations: 75.88 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3997, allocations: 19.98 kB / 1.335 GB, free: 8.254 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.0001685/0.3999, allocations: 148.1 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3999, allocations: 27.8 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.4, allocations: 25.8 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4, allocations: 0 / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4, allocations: 4 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4, allocations: 0 / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4003, allocations: 268.5 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4003, allocations: 3.984 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.4003, allocations: 15.94 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4003, allocations: 3.938 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4003, allocations: 4 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4004, allocations: 7.984 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4004, allocations: 3.938 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.4007, allocations: 194.4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.4007, allocations: 19.91 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.4007, allocations: 19.91 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.4008, allocations: 11.98 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.4009, allocations: 31.95 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.4009, allocations: 11.98 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001436/0.4011, allocations: 140.6 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4011, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002788/0.4013, allocations: 63.89 kB / 1.336 GB, free: 7.199 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.0001748/0.4015, allocations: 115.2 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.402, allocations: 306.6 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.402, allocations: 0 / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.4022, allocations: 73.11 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4025, allocations: 36.22 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.4033, allocations: 393.9 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.4038, allocations: 0.7402 MB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.749e-05/0.4039, allocations: 33.88 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.4039, allocations: 19.44 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4039, allocations: 0 / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of Templates: time 0.009224/0.4132, allocations: 3.591 MB / 1.341 GB, free: 1.863 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.911979696713388]