Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004259/0.0004259, 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.0004629/0.0004629, 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.3037/0.3037, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.7847/0.7847, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 14.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: simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|zonAla.TZon|zonAla.TCooSet|zonAla.THeaSet|zonAla.u1ResSet|zonAla.yTemAla|zonAla.uOpeMod|zonAla.ppmCO2|zonAla.CO2Set|zonAla.yCO2Ala",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|zonAla.TZon|zonAla.TCooSet|zonAla.THeaSet|zonAla.u1ResSet|zonAla.yTemAla|zonAla.uOpeMod|zonAla.ppmCO2|zonAla.CO2Set|zonAla.yCO2Ala",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.565e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.01006/0.01009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007602/0.01769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.01857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.01998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.02236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001653/0.02401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.0254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.02727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.02788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003163/0.02819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.02848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.02875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.0293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00209/0.03139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001222/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.775e-06/0.03151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.771e-05/0.03153, 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003649/0.03518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001484/0.03533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.03638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.03864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.03885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.03917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.04197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.04202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.04226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.04229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.04425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008949/0.0532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.05592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/0.05672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.05676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.05838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=72): time 2.183e-05/0.0584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=72): time 0.00402/0.06242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.06249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.06395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.06421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.06477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.0651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/0.06589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0005984/0.06649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.06741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.06859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.07017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.07019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=107) (initialization): time 0.003441/0.07363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.07372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/0.07376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 7.651e-05/0.07383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.0745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.07454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.07529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.07547, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 92 ($PRE.zonAla.tenMinDur.u,$PRE.zonAla.tenMinDur1.u,$PRE.zonAla.tenMinDur2.u,$PRE.zonAla.tenMinDur3.u,$PRE.zonAla.twoHou.u,$PRE.zonAla.tenMinDur4.u,$whenCondition19,$whenCondition20,$PRE.zonAla.tenMinDur4.t_next,$whenCondition16,$PRE.zonAla.twoHou.t_next,$whenCondition13,$PRE.zonAla.tenMinDur3.t_next,$whenCondition10,$PRE.zonAla.tenMinDur2.t_next,$whenCondition7,$PRE.zonAla.tenMinDur1.t_next,$whenCondition4,$PRE.zonAla.tenMinDur.t_next,$whenCondition1,zonAla.tenMinDur4.t_next,zonAla.twoHou.t_next,zonAla.tenMinDur3.t_next,zonAla.tenMinDur2.t_next,zonAla.tenMinDur1.t_next,occSta.y,$PRE.occSta.y,not1.y,booToInt.y,zonAla.lowTemAla.y,zonAla.higTemAla.y,zonAla.tenMinDur4.y,zonAla.tenMinDur4.u,zonAla.or3.y,zonAla.twoHou.y,zonAla.twoHou.u,zonAla.or2.y,zonAla.intEqu4.y,zonAla.intEqu3.y,zonAla.tenMinDur3.y,zonAla.tenMinDur3.u,zonAla.tenMinDur2.y,zonAla.tenMinDur2.u,zonAla.tenMinDur1.y,zonAla.tenMinDur1.u,zonAla.tenMinDur.y,zonAla.tenMinDur.u,zonAla.booToInt5.y,zonAla.booToInt4.y,zonAla.greThr1.greHys.y,$PRE.zonAla.greThr1.greHys.y,zonAla.not5.y,zonAla.and5.y,zonAla.greThr.greHys.y,$PRE.zonAla.greThr.greHys.y,zonAla.lesThr.lesHys.y,$PRE.zonAla.lesThr.lesHys.y,zonAla.not4.y,zonAla.not3.y,zonAla.not2.y,zonAla.booToInt2.y,zonAla.booToInt.y,zonAla.notSupTemAla.y,zonAla.not1.y,zonAla.thrDegHig.greHys.y,$PRE.zonAla.thrDegHig.greHys.y,zonAla.twoDegHig.greHys.y,$PRE.zonAla.twoDegHig.greHys.y,zonAla.thrDegLow.greHys.y,$PRE.zonAla.thrDegLow.greHys.y,zonAla.twoDegLow.greHys.y,$PRE.zonAla.twoDegLow.greHys.y,zonAla.yCO2Ala,zonAla.yTemAla,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,zonAla.tenMinDur.t_next,zonAla.unoMod.y,zonAla.warUpMod.y,zonAla.cooDowMod.y,zonAla.levThr.y,zonAla.levTwo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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.000994/0.07647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.07691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.07721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.07723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.07725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.07727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/0.08355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.08357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.08392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.08394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.08409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.0841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.08411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.08746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.08785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.08822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.0888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006803/0.08948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.08965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007472/0.0904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.491e-05/0.09042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002089/0.0925, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 67 (zonAla.tenMinDur2.u,zonAla.tenMinDur3.u,zonAla.tenMinDur.u,zonAla.tenMinDur1.u,zonAla.tenMinDur4.u,zonAla.twoHou.u,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,zonAla.yTemAla,zonAla.yCO2Ala,zonAla.twoDegLow.greHys.y,zonAla.thrDegLow.greHys.y,zonAla.twoDegHig.greHys.y,zonAla.thrDegHig.greHys.y,zonAla.not1.y,zonAla.notSupTemAla.y,zonAla.booToInt.y,zonAla.booToInt2.y,zonAla.not2.y,zonAla.not3.y,zonAla.not4.y,zonAla.lesThr.lesHys.y,zonAla.greThr.greHys.y,zonAla.and5.y,zonAla.not5.y,zonAla.greThr1.greHys.y,zonAla.booToInt4.y,zonAla.booToInt5.y,zonAla.tenMinDur.y,zonAla.tenMinDur.t_next,zonAla.tenMinDur1.y,zonAla.tenMinDur1.t_next,zonAla.tenMinDur2.y,zonAla.tenMinDur2.t_next,zonAla.tenMinDur3.y,zonAla.tenMinDur3.t_next,zonAla.intEqu3.y,zonAla.intEqu4.y,zonAla.or2.y,zonAla.twoHou.y,zonAla.twoHou.t_next,zonAla.or3.y,zonAla.tenMinDur4.y,zonAla.tenMinDur4.t_next,zonAla.higTemAla.y,zonAla.lowTemAla.y,booToInt.y,not1.y,occSta.y) * Number of discrete states: 13 (zonAla.tenMinDur4.t_next,zonAla.twoHou.t_next,zonAla.tenMinDur3.t_next,zonAla.tenMinDur2.t_next,zonAla.tenMinDur1.t_next,zonAla.tenMinDur.t_next,zonAla.thrDegHig.greHys.y,zonAla.twoDegHig.greHys.y,zonAla.thrDegLow.greHys.y,zonAla.twoDegLow.greHys.y,zonAla.greThr1.greHys.y,zonAla.greThr.greHys.y,zonAla.lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0007572/0.09326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002515/0.09578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.09578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001142/0.09693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.09918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.1043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000633/0.1054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.279e-05/0.1061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002894/0.109, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms.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: 2.8663438130170107]