Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001679/0.001679, 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.001689/0.001689, allocations: 218.9 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002029/0.002029, allocations: 67.77 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002826/0.3443, allocations: 1.156 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3464, allocations: 1.412 MB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.3465, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.305e-05/0.3466, allocations: 23.67 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.3467, allocations: 51.59 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.3475, allocations: 301.8 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.348, allocations: 415.8 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3483, allocations: 84.73 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3485, allocations: 163.5 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3487, allocations: 159.3 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.3488, allocations: 44 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3489, allocations: 67.91 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.349, allocations: 55.84 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3492, allocations: 159.3 kB / 1.289 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.3497, allocations: 494.2 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3497, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3497, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3497, allocations: 4 kB / 1.289 GB, free: 6.727 MB / 0.9825 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.0009584/0.3507, allocations: 0.5434 MB / 1.29 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3507, allocations: 12.03 kB / 1.29 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.3508, allocations: 32.73 kB / 1.29 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.3515, allocations: 270.1 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/0.3515, allocations: 24.31 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.3516, allocations: 28.38 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.3519, allocations: 165.9 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.352, allocations: 0 / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.352, allocations: 7.984 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.352, allocations: 4 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3522, allocations: 119.8 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3533, allocations: 0.6476 MB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.3537, allocations: 170.8 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3538, allocations: 60.84 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3538, allocations: 0 / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3541, allocations: 131.3 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.3541, allocations: 0 / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004614/0.3545, allocations: 223.5 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3546, allocations: 59.41 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3548, allocations: 214.9 kB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.3549, allocations: 41.7 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.355, allocations: 136.9 kB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.3551, allocations: 59.5 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3552, allocations: 81.61 kB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3554, allocations: 334.8 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3556, allocations: 104 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3559, allocations: 160.1 kB / 1.293 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3561, allocations: 214.5 kB / 1.293 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3562, allocations: 0 / 1.293 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000584/0.3567, allocations: 364.2 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.3568, allocations: 71.28 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3568, allocations: 0 / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3568, allocations: 4 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.3569, allocations: 19.92 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.3569, allocations: 7.984 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3573, allocations: 79.94 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.3573, allocations: 15.98 kB / 1.293 GB, free: 2.117 MB / 0.9825 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.0001872/0.3575, allocations: 155.5 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3575, allocations: 27.78 kB / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.3576, allocations: 21.81 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3576, allocations: 0 / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3576, allocations: 4 kB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3576, allocations: 0 / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.3579, allocations: 268.5 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3579, allocations: 0 / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.358, allocations: 16 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.358, allocations: 3.938 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.358, allocations: 7.984 kB / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.358, allocations: 4 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.358, allocations: 0 / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3583, allocations: 195.1 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.3583, allocations: 23.84 kB / 1.294 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3584, allocations: 11.94 kB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.3584, allocations: 11.98 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.3585, allocations: 35.94 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3585, allocations: 12 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3587, allocations: 144.4 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3587, allocations: 0 / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002932/0.359, allocations: 67.83 kB / 1.294 GB, free: 1.059 MB / 0.9825 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.0001824/0.3592, allocations: 119.1 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.3597, allocations: 309.1 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3597, allocations: 0 / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3598, allocations: 71.91 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3601, allocations: 47.94 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.3609, allocations: 413.9 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3613, allocations: 0.7402 MB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3613, allocations: 27.38 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3613, allocations: 4 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.006148/0.3675, allocations: 3.321 MB / 1.299 GB, free: 11.95 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.203959416976431]