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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00034/0.00034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005761/0.0009162, 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.0002654/0.0002654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000543/0.0008084, 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.184/0.184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05093/0.2349, 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.4517/0.4517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1477/0.5994, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 15.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.513e-06/1.513e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.377e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.002507/0.00254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00201/0.004551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.004733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.004931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.005136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.005705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0004539/0.006159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.00649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.007079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.007274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.007348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.007423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.007545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.007712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.008355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.862e-05/0.008433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.083e-06/0.008435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.757e-05/0.008453, 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.001125/0.009578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.076e-05/0.009659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.009909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.01035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.01042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.0105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.01101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.01107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.01108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.01127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.01278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.381e-05/0.01287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.01319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.0132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=72): time 0.0003957/0.01359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.01362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.01398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.0141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.01417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.01431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.406e-05/0.01435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.01459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.01481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.01482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=107) (initialization): time 0.0004308/0.01525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.01528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.0153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.01548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.0155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.01569, 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.levTwo.y,zonAla.levThr.y,zonAla.cooDowMod.y,zonAla.warUpMod.y,zonAla.unoMod.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.0002109/0.01591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.01596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.01605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.01683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.01685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.01718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.01723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.01736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.01763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.01767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 9.079e-05/0.01776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.863e-06/0.01776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003103/0.01807, 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.0002766/0.01835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003956/0.01875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.01875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000149/0.0189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.01933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.152e-05/0.02028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001462/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.02064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.755e-05/0.02065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002189/0.02284, 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: 1.330311629921198]