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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 249.9 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.72/2.72, allocations: 489.7 MB / 0.7761 GB, free: 2.375 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 1.127 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8294, allocations: 172.1 MB / 1.295 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00247/0.8319, allocations: 1.16 MB / 1.296 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.8337, allocations: 1.374 MB / 1.297 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.8338, allocations: 3.906 kB / 1.297 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.249e-05/0.8339, allocations: 23.72 kB / 1.297 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.834, allocations: 46.66 kB / 1.297 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.8347, allocations: 296.8 kB / 1.298 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.8352, allocations: 417.3 kB / 1.298 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.8354, allocations: 80.91 kB / 1.298 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.8356, allocations: 160.9 kB / 1.298 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.8358, allocations: 153.8 kB / 1.298 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.8359, allocations: 45.19 kB / 1.299 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.836, allocations: 59.09 kB / 1.299 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.8361, allocations: 65.5 kB / 1.299 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.8363, allocations: 162.3 kB / 1.299 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.8368, allocations: 488.3 kB / 1.299 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.8369, allocations: 1.344 kB / 1.299 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8369, allocations: 0 / 1.299 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.8369, allocations: 0 / 1.299 GB, free: 2.914 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.0009284/0.8378, allocations: 0.6223 MB / 1.3 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.8378, allocations: 9.5 kB / 1.3 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.8379, allocations: 39.92 kB / 1.3 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.8386, allocations: 325.3 kB / 1.3 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.8386, allocations: 21.31 kB / 1.3 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.8387, allocations: 24.44 kB / 1.3 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.839, allocations: 179.7 kB / 1.3 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.839, allocations: 0 / 1.3 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.839, allocations: 6.219 kB / 1.3 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.839, allocations: 5.031 kB / 1.3 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.8392, allocations: 116.9 kB / 1.301 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.8403, allocations: 0.6824 MB / 1.301 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.8407, allocations: 158.3 kB / 1.301 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.8408, allocations: 62.42 kB / 1.301 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.8408, allocations: 1.641 kB / 1.301 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.8411, allocations: 133 kB / 1.302 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.8411, allocations: 1.312 kB / 1.302 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004717/0.8415, allocations: 223.4 kB / 1.302 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.8416, allocations: 58.91 kB / 1.302 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.8418, allocations: 212.4 kB / 1.302 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.8419, allocations: 40.2 kB / 1.302 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.842, allocations: 147.5 kB / 1.302 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.8421, allocations: 49.61 kB / 1.302 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.8422, allocations: 78 kB / 1.302 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8424, allocations: 339.5 kB / 1.303 GB, free: 416 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.8426, allocations: 96.44 kB / 1.303 GB, free: 380 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.8429, allocations: 170.9 kB / 1.303 GB, free: 260 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.8432, allocations: 214 kB / 1.303 GB, free: 92 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8432, allocations: 1.219 kB / 1.303 GB, free: 92 kB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006212/0.8438, allocations: 360.7 kB / 1.303 GB, free: 15.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.8439, allocations: 71.94 kB / 1.304 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8439, allocations: 1.844 kB / 1.304 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.8439, allocations: 2.281 kB / 1.304 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.844, allocations: 18.77 kB / 1.304 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.844, allocations: 6.906 kB / 1.304 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.8444, allocations: 76.8 kB / 1.304 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.8444, allocations: 18.11 kB / 1.304 GB, free: 15.8 MB / 1.014 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.0001929/0.8446, allocations: 153.2 kB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.8446, allocations: 24.14 kB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.8447, allocations: 24.33 kB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8447, allocations: 2.75 kB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8447, allocations: 0 / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8447, allocations: 1.359 kB / 1.304 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.8451, allocations: 302.8 kB / 1.304 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8451, allocations: 4.688 kB / 1.304 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.8452, allocations: 21.48 kB / 1.304 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.8452, allocations: 9.859 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.8452, allocations: 2.656 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8452, allocations: 1.062 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8452, allocations: 0.875 kB / 1.304 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.8455, allocations: 196.4 kB / 1.304 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.8456, allocations: 95.53 kB / 1.304 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.8456, allocations: 11.41 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.8457, allocations: 14.94 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.8458, allocations: 33.89 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.8458, allocations: 5.984 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001307/0.846, allocations: 151.9 kB / 1.305 GB, free: 15.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.846, allocations: 0 / 1.305 GB, free: 15.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003047/0.8463, allocations: 62.81 kB / 1.305 GB, free: 14.99 MB / 1.014 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.0001763/0.8464, allocations: 115.2 kB / 1.305 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.8469, allocations: 307.4 kB / 1.305 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.847, allocations: 0 / 1.305 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8471, allocations: 77.3 kB / 1.305 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8474, allocations: 45.11 kB / 1.305 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.8481, allocations: 418.3 kB / 1.306 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.8484, allocations: 0.7386 MB / 1.306 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.8485, allocations: 32.98 kB / 1.306 GB, free: 13.65 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.8485, allocations: 0 / 1.306 GB, free: 13.65 MB / 1.014 GB Notification: Performance of Templates: time 0.006319/0.8548, allocations: 3.329 MB / 1.31 GB, free: 13.29 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] 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