Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001677/0.001677, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002031/0.002031, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.106/3.106, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002377/0.002377, allocations: 79.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8995, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002236/0.9017, allocations: 1.09 MB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.9034, allocations: 1.395 MB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.9036, allocations: 2.375 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.665e-05/0.9036, allocations: 23.39 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.9038, allocations: 43.34 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.9045, allocations: 299.7 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.9049, allocations: 410.9 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.9051, allocations: 85.08 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.9053, allocations: 167.5 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.9055, allocations: 134 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.9056, allocations: 44.91 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.9058, allocations: 57.62 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.9058, allocations: 67.3 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.906, allocations: 135.3 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.9065, allocations: 483.6 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9065, allocations: 0 / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9065, allocations: 0 / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.9065, allocations: 4 kB / 1.191 GB, free: 13.59 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.0009015/0.9074, allocations: 0.5516 MB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9075, allocations: 9.719 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.9076, allocations: 35.31 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.9082, allocations: 254.9 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.9082, allocations: 22.06 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.9083, allocations: 29.38 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.9086, allocations: 183.6 kB / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.9086, allocations: 0 / 1.192 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.9086, allocations: 10.12 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9086, allocations: 4.672 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.9088, allocations: 111 kB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.9099, allocations: 0.5502 MB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.9103, allocations: 154.2 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.9105, allocations: 59.45 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.9105, allocations: 1.062 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.9108, allocations: 134.2 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.9108, allocations: 0 / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0005205/0.9113, allocations: 225.1 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.9114, allocations: 54.59 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.9116, allocations: 216.2 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.9116, allocations: 40.73 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.9117, allocations: 155.2 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.9117, allocations: 47.02 kB / 1.194 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.9119, allocations: 78.27 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.9119, allocations: 334.2 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.9122, allocations: 162.5 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.9124, allocations: 306.5 kB / 1.194 GB, free: 10.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.9127, allocations: 221.7 kB / 1.195 GB, free: 10.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9127, allocations: 0.75 kB / 1.195 GB, free: 10.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005679/0.9133, allocations: 430.1 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.9133, allocations: 65.19 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9133, allocations: 2.188 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.9133, allocations: 5.938 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.9134, allocations: 18.91 kB / 1.195 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.9134, allocations: 2.891 kB / 1.195 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.9139, allocations: 80.03 kB / 1.195 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.9139, allocations: 18.39 kB / 1.195 GB, free: 10.42 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.000129/0.914, allocations: 149.2 kB / 1.195 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.9141, allocations: 17.3 kB / 1.195 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.9141, allocations: 41.44 kB / 1.195 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9141, allocations: 2.031 kB / 1.195 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9141, allocations: 0 / 1.195 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.9141, allocations: 2.422 kB / 1.195 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.9143, allocations: 208.4 kB / 1.196 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9143, allocations: 0 / 1.196 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.9144, allocations: 17.83 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9144, allocations: 1.781 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9144, allocations: 7.375 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9144, allocations: 5.828 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9144, allocations: 4 kB / 1.196 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.9147, allocations: 200.2 kB / 1.196 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.9147, allocations: 15.23 kB / 1.196 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.9147, allocations: 8.219 kB / 1.196 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.9148, allocations: 18.09 kB / 1.196 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.9149, allocations: 34.81 kB / 1.196 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.9149, allocations: 10.03 kB / 1.196 GB, free: 9.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001009/0.915, allocations: 152.3 kB / 1.196 GB, free: 9.809 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.915, allocations: 0 / 1.196 GB, free: 9.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003132/0.9153, allocations: 67.2 kB / 1.196 GB, free: 9.789 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.0001435/0.9155, allocations: 117.5 kB / 1.196 GB, free: 9.688 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004685/0.916, allocations: 372 kB / 1.197 GB, free: 9.426 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.916, allocations: 1.062 kB / 1.197 GB, free: 9.426 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.9161, allocations: 69.47 kB / 1.197 GB, free: 9.402 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.9164, allocations: 45.02 kB / 1.197 GB, free: 9.383 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.917, allocations: 380.2 kB / 1.197 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.9171, allocations: 134.7 kB / 1.197 GB, free: 9.047 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.9172, allocations: 22.92 kB / 1.197 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.9173, allocations: 31.97 kB / 1.197 GB, free: 9.023 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.9173, allocations: 0.875 kB / 1.197 GB, free: 9.023 MB / 1.076 GB Notification: Performance of Templates: time 0.009714/0.927, allocations: 3.761 MB / 1.201 GB, free: 8.598 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.268450830015354]