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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 168.7 MB / 1.272 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002723/1.184, allocations: 1.169 MB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002141/1.186, allocations: 1.38 MB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/1.186, allocations: 3.594 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.642e-05/1.186, allocations: 25.08 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/1.186, allocations: 46.02 kB / 1.275 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000748/1.187, allocations: 301.6 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004665/1.187, allocations: 405.3 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/1.188, allocations: 93.64 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/1.188, allocations: 157.9 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/1.188, allocations: 156 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/1.188, allocations: 44.88 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/1.188, allocations: 60.12 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/1.188, allocations: 66.48 kB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/1.189, allocations: 161.2 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/1.189, allocations: 486.2 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.189, allocations: 4 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/1.189, allocations: 3.938 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.827e-06/1.189, allocations: 0.8125 kB / 1.276 GB, free: 5.102 MB / 0.9981 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.0009768/1.19, allocations: 0.6161 MB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.19, allocations: 9.406 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.19, allocations: 35.34 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/1.191, allocations: 326.3 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/1.191, allocations: 17.5 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/1.191, allocations: 29.22 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/1.192, allocations: 179.9 kB / 1.278 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.192, allocations: 0 / 1.278 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.192, allocations: 6.031 kB / 1.278 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.192, allocations: 9.844 kB / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/1.192, allocations: 111.2 kB / 1.278 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/1.193, allocations: 0.683 MB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/1.193, allocations: 165.1 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/1.193, allocations: 63.09 kB / 1.279 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/1.194, allocations: 2.5 kB / 1.279 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/1.194, allocations: 136.8 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/1.194, allocations: 0.9062 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0005297/1.194, allocations: 218.9 kB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.194, allocations: 59.59 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/1.195, allocations: 211.7 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/1.195, allocations: 36.73 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.195, allocations: 150.8 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/1.195, allocations: 54.72 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.195, allocations: 77.81 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/1.195, allocations: 339.2 kB / 1.28 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/1.195, allocations: 105 kB / 1.28 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/1.196, allocations: 159.8 kB / 1.28 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/1.196, allocations: 218.2 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.196, allocations: 4.75 kB / 1.28 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006329/1.196, allocations: 357.5 kB / 1.281 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/1.197, allocations: 67.59 kB / 1.281 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.197, allocations: 5.438 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.197, allocations: 1.781 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/1.197, allocations: 19.11 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.197, allocations: 3.281 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/1.197, allocations: 85 kB / 1.281 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/1.197, allocations: 13.73 kB / 1.281 GB, free: 1.988 MB / 0.9981 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.0001448/1.197, allocations: 156.6 kB / 1.281 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.197, allocations: 25.61 kB / 1.281 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/1.197, allocations: 23.84 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.197, allocations: 2.375 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.197, allocations: 0.5156 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/1.197, allocations: 2.375 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/1.198, allocations: 293.3 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.198, allocations: 1.328 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/1.198, allocations: 17.61 kB / 1.281 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.198, allocations: 5.344 kB / 1.281 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.198, allocations: 10.67 kB / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.198, allocations: 1.25 kB / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.198, allocations: 1.766 kB / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/1.198, allocations: 195.4 kB / 1.281 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/1.198, allocations: 91.11 kB / 1.282 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/1.198, allocations: 11.61 kB / 1.282 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/1.198, allocations: 15.55 kB / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.198, allocations: 43.61 kB / 1.282 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/1.198, allocations: 4.203 kB / 1.282 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001034/1.198, allocations: 148.5 kB / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.198, allocations: 0 / 1.282 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005356/1.199, allocations: 62.78 kB / 1.282 GB, free: 1.191 MB / 0.9981 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.0001745/1.199, allocations: 116.8 kB / 1.282 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004919/1.2, allocations: 309 kB / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.2, allocations: 0 / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.2, allocations: 70.53 kB / 1.282 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.2, allocations: 40.91 kB / 1.282 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/1.201, allocations: 403.8 kB / 1.283 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/1.201, allocations: 0.741 MB / 1.283 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.606e-05/1.201, allocations: 25.5 kB / 1.283 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/1.201, allocations: 22.86 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.201, allocations: 0 / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of Templates: time 0.009376/1.211, allocations: 3.547 MB / 1.287 GB, free: 15.6 MB / 1.014 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: 9.9375066049397]