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.001234/0.001234, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001559/0.001559, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9247/0.9247, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.507e-06/3.507e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.226e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00251/0.002542, allocations: 1.091 MB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.004554, allocations: 1.396 MB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.004689, allocations: 4 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.239e-05/0.004761, allocations: 23.67 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.004924, allocations: 51.59 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.005717, allocations: 304.2 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.006162, allocations: 411.7 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.006381, allocations: 84.84 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.006654, allocations: 231.5 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.006868, allocations: 123.6 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.006936, allocations: 44 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.007044, allocations: 55.98 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.007108, allocations: 59.77 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.00722, allocations: 131.7 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.007625, allocations: 0.5219 MB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.007628, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.723e-06/0.00763, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.007635, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 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.0006979/0.008333, allocations: 0.5356 MB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.008375, allocations: 12.75 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.008449, allocations: 32.75 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.008882, allocations: 269.4 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.008909, allocations: 24.36 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.008944, allocations: 24.38 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.009168, allocations: 178 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.009178, allocations: 4.125 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.009194, allocations: 8.375 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.009201, allocations: 7.938 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.009347, allocations: 112 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.009995, allocations: 0.539 MB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.0103, allocations: 146.8 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.01038, allocations: 68.81 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01039, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.01062, allocations: 133.7 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.01062, allocations: 4 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003354/0.01095, allocations: 225.4 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.01107, allocations: 59.39 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01121, allocations: 215.1 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.01125, allocations: 41.64 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.01132, allocations: 148.5 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.01136, allocations: 51.62 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.01144, allocations: 77.67 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.01153, allocations: 326.8 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.01169, allocations: 163.3 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.01189, allocations: 307.2 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.01208, allocations: 223.5 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01208, allocations: 0 / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003838/0.01247, allocations: 424.3 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.01251, allocations: 67.39 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01252, allocations: 0 / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01253, allocations: 4.125 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.01258, allocations: 23.88 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01259, allocations: 7.938 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.01279, allocations: 75.8 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.01281, allocations: 16 kB / 1.01 GB, free: 3.711 MB / 0.9636 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.000113/0.01292, allocations: 155.8 kB / 1.01 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01294, allocations: 27.84 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.01299, allocations: 21.81 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01299, allocations: 0 / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.013, allocations: 0 / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.013, allocations: 11.92 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01315, allocations: 193.2 kB / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01315, allocations: 0 / 1.01 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.01319, allocations: 23.92 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01319, allocations: 8 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.0132, allocations: 4 kB / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.0132, allocations: 0 / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0132, allocations: 0 / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01339, allocations: 206.9 kB / 1.01 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.01341, allocations: 23.8 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01343, allocations: 8 kB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.01348, allocations: 11.98 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.01354, allocations: 35.94 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01355, allocations: 4 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.7e-05/0.01363, allocations: 156.3 kB / 1.011 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01363, allocations: 0 / 1.011 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001908/0.01382, allocations: 63.81 kB / 1.011 GB, free: 2.719 MB / 0.9636 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.0001443/0.01397, allocations: 112.7 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.01431, allocations: 366.1 kB / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01431, allocations: 0 / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.0144, allocations: 86.33 kB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01461, allocations: 39.91 kB / 1.011 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.01511, allocations: 404.4 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.01518, allocations: 134.2 kB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.01523, allocations: 24.5 kB / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01523, allocations: 0 / 1.012 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of Templates: time 0.003713/0.01895, allocations: 3.39 MB / 1.015 GB, free: 14.11 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.826664544641972]