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.001867/0.001867, allocations: 85.14 kB / 19.76 MB, free: 2.023 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.002277/0.002277, allocations: 157.5 kB / 23.01 MB, free: 4.961 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.572/1.572, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.847/2.847, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002071/0.002071, allocations: 63.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9979/1, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002072/1.002, allocations: 1.096 MB / 1.155 GB, free: 32.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.003, allocations: 1.388 MB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/1.004, allocations: 2.938 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/1.004, allocations: 25.59 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/1.004, allocations: 58.36 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/1.004, allocations: 289.5 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/1.005, allocations: 412.9 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/1.005, allocations: 88.28 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/1.005, allocations: 163 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/1.005, allocations: 131 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/1.005, allocations: 46.41 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/1.005, allocations: 59.05 kB / 1.158 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/1.005, allocations: 66.56 kB / 1.158 GB, free: 30.97 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/1.005, allocations: 135.1 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/1.006, allocations: 485.3 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.006, allocations: 0 / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/1.006, allocations: 3.938 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.006, allocations: 4 kB / 1.158 GB, free: 30.71 MB / 1.076 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.0007072/1.006, allocations: 0.5465 MB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/1.006, allocations: 8.562 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/1.007, allocations: 32.92 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/1.007, allocations: 268 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/1.007, allocations: 19.91 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/1.007, allocations: 28.38 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.007, allocations: 179.8 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.007, allocations: 0 / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.007, allocations: 6.906 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/1.007, allocations: 6.844 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/1.008, allocations: 113.3 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/1.008, allocations: 0.5477 MB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/1.009, allocations: 151.6 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/1.009, allocations: 60.48 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/1.009, allocations: 3.156 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/1.009, allocations: 134.8 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/1.009, allocations: 0 / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0003611/1.009, allocations: 221.8 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/1.009, allocations: 54.28 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.01, allocations: 218 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/1.01, allocations: 39.27 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.01, allocations: 148.5 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/1.01, allocations: 48.8 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.01, allocations: 84.19 kB / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/1.01, allocations: 332.6 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.01, allocations: 164.4 kB / 1.161 GB, free: 28.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.01, allocations: 311.1 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/1.01, allocations: 212 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.01, allocations: 6.812 kB / 1.162 GB, free: 27.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000467/1.011, allocations: 423.8 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.011, allocations: 63.17 kB / 1.162 GB, free: 27.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.011, allocations: 2.812 kB / 1.162 GB, free: 27.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.011, allocations: 10.27 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/1.011, allocations: 15.44 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.011, allocations: 2.75 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/1.011, allocations: 91.39 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/1.011, allocations: 11.5 kB / 1.163 GB, free: 27.55 MB / 1.076 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.0001084/1.012, allocations: 152.2 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/1.012, allocations: 20.58 kB / 1.163 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/1.012, allocations: 28.62 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.012, allocations: 6.281 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.012, allocations: 0 / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.012, allocations: 0 / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/1.012, allocations: 206.3 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.012, allocations: 0 / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/1.012, allocations: 21.06 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.012, allocations: 0 / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.012, allocations: 10.97 kB / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.012, allocations: 3.938 kB / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.012, allocations: 0 / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/1.012, allocations: 198 kB / 1.163 GB, free: 27.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/1.012, allocations: 23.98 kB / 1.163 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/1.012, allocations: 4 kB / 1.163 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/1.012, allocations: 18.89 kB / 1.163 GB, free: 27.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/1.012, allocations: 35.53 kB / 1.163 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/1.012, allocations: 8.641 kB / 1.163 GB, free: 27.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.124e-05/1.012, allocations: 143.3 kB / 1.163 GB, free: 26.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.163 GB, free: 26.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000267/1.013, allocations: 66.72 kB / 1.163 GB, free: 26.93 MB / 1.076 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.0001212/1.013, allocations: 114.8 kB / 1.164 GB, free: 26.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004026/1.013, allocations: 375.7 kB / 1.164 GB, free: 26.56 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.013, allocations: 2.844 kB / 1.164 GB, free: 26.56 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/1.013, allocations: 69.83 kB / 1.164 GB, free: 26.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.014, allocations: 39.45 kB / 1.164 GB, free: 26.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/1.014, allocations: 390.1 kB / 1.164 GB, free: 26.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.015e-05/1.014, allocations: 133.4 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.367e-05/1.014, allocations: 27.83 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/1.014, allocations: 26.38 kB / 1.165 GB, free: 26.17 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/1.014, allocations: 4 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of Templates: time 0.006605/1.021, allocations: 3.758 MB / 1.168 GB, free: 25.74 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.182664497056976]