Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000251/0.000251, allocations: 0 / 0, free: 0 / 0 " [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.0001764/0.0001764, allocations: 0 / 0, free: 0 / 0 " [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.1412/0.1412, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.2792/0.2792, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints,startTime=0,stopTime=28800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints,startTime=0,stopTime=28800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TZonSet.THeaSet|TZonSet.TCooSet|TZonSet.TOccCooSet|TZonSet.TOccHeaSet|TZonSet.u1Win|TZonSet.u1Occ|TZonSet.uOpeMod|TZonSet.cooSetAdj|TZonSet.heaSetAdj",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 4.207e-06/4.207e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.644e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints): time 0.006785/0.006821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006193/0.01301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.01415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000732/0.01488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0008117/0.01569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001934/0.01951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.02075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.02266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.02331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.02348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.02368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.0245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001563/0.02606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001469/0.02621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.745e-06/0.02621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.17e-05/0.02623, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.00204/0.02827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001125/0.02838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.02883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.02976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.02995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.03012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.03144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.03147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.03157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.0316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.03223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.03614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.03689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.03709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.03714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.03764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=100): time 9.297e-06/0.03765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=100): time 0.0008/0.03845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.0385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.03889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.03903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.03938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.03959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/0.03993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.963e-05/0.03999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.04027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.04081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.04147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=169) (initialization): time 0.001052/0.04254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.0426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.04263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.04266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.04316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.089e-05/0.0432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.04369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.04381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005423/0.04435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003887/0.04474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006341/0.04537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.44e-05/0.04539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=169) (initialization_lambda0): time 0.001008/0.0464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.04649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.04651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.04655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.04705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.708e-05/0.04709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.04755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.04763, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 93 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TZonSet.not1.y,TZonSet.not2.y,TZonSet.booToRea6.u,TZonSet.or7.y,TZonSet.not1.u,TZonSet.booToRea7.u,TZonSet.or8.y,TZonSet.not2.u,heaDemLimLev.y,cooDemLimLev.y,TZonSet.conInt5.y,TZonSet.conInt4.y,TZonSet.conInt3.y,TZonSet.conInt7.y,TZonSet.conInt6.y,TZonSet.conInt8.y,TZonSet.have_occSenCon.y,TZonSet.winSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,TZonSet.conInt2.y,TZonSet.conInt1.y,TZonSet.conInt.y,TZonSet.intEqu7.y,TZonSet.intEqu8.y,TZonSet.intEqu6.y,TZonSet.intGreThr.y,TZonSet.intGreThr1.y,TZonSet.intEqu3.y,TZonSet.intEqu4.y,TZonSet.intEqu5.y,TZonSet.or4.y,TZonSet.or1.y,TZonSet.edg.u,$PRE.TZonSet.edg.u,not1.y,occSta.y,$PRE.occSta.y,winSta.y,$PRE.winSta.y,booToInt.y,TZonSet.and10.y,TZonSet.gre2.y,TZonSet.gre.y,TZonSet.les.y,TZonSet.not5.y,TZonSet.and11.y,TZonSet.or9.y,TZonSet.intEqu1.y,TZonSet.intEqu.y,TZonSet.or6.y,TZonSet.heaSetSam.y,$PRE.TZonSet.heaSetSam.y,TZonSet.cooSetSam.y,$PRE.TZonSet.cooSetSam.y,TZonSet.edg1.y,TZonSet.edg1.u,$PRE.TZonSet.edg1.u,TZonSet.truHol.entryTimeFalse,$PRE.TZonSet.truHol.entryTimeFalse,TZonSet.truHol.entryTimeTrue,$PRE.TZonSet.truHol.entryTimeTrue,TZonSet.truHol.not_y,$PRE.TZonSet.truHol.not_y,TZonSet.truHol.not_u,$PRE.TZonSet.truHol.not_u,TZonSet.truHol.y,$PRE.TZonSet.truHol.y,TZonSet.truHol.u,$PRE.TZonSet.truHol.u,TZonSet.tim.entryTime,$PRE.TZonSet.tim.entryTime,TZonSet.tim.passed,$PRE.TZonSet.tim.passed,TZonSet.heaSetFre.y,$PRE.TZonSet.heaSetFre.y,TZonSet.or5.y,TZonSet.cooSetFre.y,$PRE.TZonSet.cooSetFre.y,TZonSet.edg.y,TZonSet.yAla,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * 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.0004018/0.04803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.04814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.04829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.0483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.04831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.04832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.05009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.0501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.05043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.05044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.05049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.0505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.05051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.05115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.05125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.05147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.05174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.05198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-05/0.05205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001645/0.05221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.624e-05/0.05223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001604/0.05383, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 (TZonSet.edg.y,TZonSet.edg1.y,TZonSet.and10.y,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.passed,TZonSet.tim.entryTime,TZonSet.truHol.u,TZonSet.truHol.y,TZonSet.truHol.not_u,TZonSet.truHol.not_y,TZonSet.truHol.entryTimeTrue,TZonSet.truHol.entryTimeFalse,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.or6.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or9.y,TZonSet.and11.y,TZonSet.not5.y,TZonSet.les.y,TZonSet.gre.y,TZonSet.gre2.y,booToInt.y,winSta.y,occSta.y,not1.y,TZonSet.or5.y) * Number of discrete states: 8 (TZonSet.truHol.entryTimeFalse,TZonSet.truHol.entryTimeTrue,TZonSet.tim.entryTime,TZonSet.truHol.u,TZonSet.truHol.not_u,TZonSet.truHol.y,TZonSet.truHol.not_y,TZonSet.edg1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0004547/0.05429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001507/0.05579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.0558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.05611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.05691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.05925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.05944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003867/0.05983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.06023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.992e-05/0.06029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003453/0.06374, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Setpoints_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Setpoints.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.2667786115780473]