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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.001656/0.001655, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.052/3.052, allocations: 489.3 MB / 0.7687 GB, free: 3.738 MB / 0.6075 GB " [Timeout remaining time 176] 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.002016/0.002016, allocations: 75.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002404/1.049, allocations: 1.152 MB / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001763/1.051, allocations: 1.375 MB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/1.051, allocations: 2.875 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/1.051, allocations: 23.48 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/1.052, allocations: 41.09 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/1.052, allocations: 300.2 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004832/1.053, allocations: 429.6 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/1.053, allocations: 110.1 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/1.053, allocations: 161.2 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/1.053, allocations: 155.9 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/1.053, allocations: 49.47 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/1.054, allocations: 63.09 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/1.054, allocations: 62.75 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/1.054, allocations: 160.2 kB / 1.267 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000616/1.054, allocations: 490.3 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.054, allocations: 0 / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/1.055, allocations: 0 / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.055, allocations: 0.5938 kB / 1.267 GB, free: 5.227 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.0008024/1.055, allocations: 0.623 MB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/1.055, allocations: 8.562 kB / 1.268 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/1.055, allocations: 35.67 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/1.056, allocations: 328.5 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/1.056, allocations: 21.47 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/1.056, allocations: 25.47 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/1.056, allocations: 179.8 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.057, allocations: 4 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.057, allocations: 10.11 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.057, allocations: 4.625 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/1.057, allocations: 113.2 kB / 1.268 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/1.058, allocations: 0.6862 MB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/1.058, allocations: 164.5 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/1.059, allocations: 71.73 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/1.059, allocations: 1.719 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/1.059, allocations: 133.2 kB / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/1.059, allocations: 0 / 1.269 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004622/1.059, allocations: 224 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/1.059, allocations: 54.64 kB / 1.27 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.06, allocations: 216.9 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/1.06, allocations: 35.77 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/1.06, allocations: 150.8 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/1.06, allocations: 52.56 kB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/1.06, allocations: 80.64 kB / 1.27 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/1.06, allocations: 340.1 kB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/1.06, allocations: 95.98 kB / 1.271 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/1.06, allocations: 159.5 kB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/1.061, allocations: 216.1 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.061, allocations: 0.9375 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005946/1.061, allocations: 360.9 kB / 1.271 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/1.061, allocations: 67.8 kB / 1.271 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.061, allocations: 5.719 kB / 1.271 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.061, allocations: 2.922 kB / 1.271 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/1.061, allocations: 22.73 kB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.061, allocations: 6.719 kB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/1.062, allocations: 72.02 kB / 1.271 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.062, allocations: 19.39 kB / 1.271 GB, free: 2.109 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.0001353/1.062, allocations: 152.1 kB / 1.272 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/1.062, allocations: 29.2 kB / 1.272 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/1.062, allocations: 26.78 kB / 1.272 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.062, allocations: 5.906 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.062, allocations: 1.031 kB / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.062, allocations: 0 / 1.272 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/1.062, allocations: 299.7 kB / 1.272 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.062, allocations: 0.8438 kB / 1.272 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/1.063, allocations: 15.84 kB / 1.272 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.063, allocations: 4.594 kB / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/1.063, allocations: 8.234 kB / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.063, allocations: 5.062 kB / 1.272 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.063, allocations: 0 / 1.272 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/1.063, allocations: 197.3 kB / 1.272 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/1.063, allocations: 98.77 kB / 1.272 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/1.063, allocations: 11.53 kB / 1.272 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/1.063, allocations: 15.28 kB / 1.272 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/1.063, allocations: 34.89 kB / 1.272 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.063, allocations: 9.281 kB / 1.272 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001151/1.063, allocations: 143.1 kB / 1.272 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.063, allocations: 0.625 kB / 1.272 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003062/1.064, allocations: 58.61 kB / 1.272 GB, free: 1.305 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.0001518/1.064, allocations: 120.1 kB / 1.273 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004956/1.064, allocations: 338.2 kB / 1.273 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.064, allocations: 0.8125 kB / 1.273 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/1.064, allocations: 78.39 kB / 1.273 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/1.065, allocations: 48.12 kB / 1.273 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/1.065, allocations: 413.3 kB / 1.273 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/1.066, allocations: 0.7429 MB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/1.066, allocations: 29.09 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.066, allocations: 0.9688 kB / 1.274 GB, free: 15.95 MB / 1.014 GB Notification: Performance of Templates: time 0.006931/1.073, allocations: 3.317 MB / 1.277 GB, free: 15.59 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=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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.988394343992695]