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.00179/0.00179, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002454/0.002454, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.699/1.699, allocations: 230.6 MB / 256 MB, free: 7.984 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.974/2.974, allocations: 476.7 MB / 0.7706 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] 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.002139/0.002139, allocations: 67.77 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002861/0.4026, allocations: 1.162 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4047, allocations: 1.416 MB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.4048, allocations: 4 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.174e-05/0.4049, allocations: 23.67 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.405, allocations: 43.59 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.4059, allocations: 300.9 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.4064, allocations: 411.8 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.4066, allocations: 96.72 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.4068, allocations: 159.5 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.407, allocations: 151.4 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.421e-05/0.4071, allocations: 47.98 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4072, allocations: 63.92 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.4073, allocations: 59.83 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.4075, allocations: 155.4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.4081, allocations: 494.2 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4081, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4081, allocations: 4 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.4081, allocations: 0 / 1.288 GB, free: 6.648 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.0009683/0.409, allocations: 0.5434 MB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4091, allocations: 11.97 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4092, allocations: 36.73 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.4099, allocations: 270.1 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.4099, allocations: 24.33 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.4099, allocations: 24.38 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.4103, allocations: 169.9 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4103, allocations: 0 / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.4103, allocations: 12 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.4103, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.4106, allocations: 119.8 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4116, allocations: 0.6515 MB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.4121, allocations: 150.8 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4122, allocations: 68.78 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4122, allocations: 7.984 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.4126, allocations: 128.9 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.4126, allocations: 0 / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004808/0.413, allocations: 219.5 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.4131, allocations: 63.34 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.4133, allocations: 214.9 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.4134, allocations: 37.7 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4135, allocations: 140.9 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.4136, allocations: 59.5 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.4137, allocations: 81.61 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4139, allocations: 334.8 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.4141, allocations: 95.95 kB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4144, allocations: 164.1 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.4147, allocations: 210.5 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4147, allocations: 4 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006187/0.4153, allocations: 364.2 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.4154, allocations: 75.33 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4154, allocations: 0 / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4154, allocations: 4 kB / 1.292 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.4155, allocations: 15.94 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4155, allocations: 3.984 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.4159, allocations: 79.94 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4159, allocations: 19.98 kB / 1.292 GB, free: 2.039 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.0001756/0.4161, allocations: 147.5 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.4161, allocations: 27.8 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.4162, allocations: 25.8 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4162, allocations: 4 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4162, allocations: 0 / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4162, allocations: 0 / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.4165, allocations: 268.4 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4165, allocations: 0 / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.4166, allocations: 19.98 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4166, allocations: 3.938 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4166, allocations: 4 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4166, allocations: 0 / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4166, allocations: 4.047 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.4169, allocations: 204.9 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.417, allocations: 19.86 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.417, allocations: 7.938 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.4171, allocations: 15.98 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.4172, allocations: 35.94 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4172, allocations: 4 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001509/0.4173, allocations: 152.4 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4173, allocations: 0 / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000299/0.4176, allocations: 71.81 kB / 1.293 GB, free: 0.9727 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.0002227/0.4179, allocations: 115.1 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.4184, allocations: 309 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4184, allocations: 4.062 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.4185, allocations: 71.91 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.4188, allocations: 39.34 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.4196, allocations: 383.9 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.42, allocations: 0.7402 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.767e-05/0.4201, allocations: 25.94 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.4202, allocations: 23.44 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.4202, allocations: 0 / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.008742/0.4289, allocations: 3.59 MB / 1.299 GB, free: 11.64 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/jenkins/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: 10.123148165643215]