Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build Buildings_12_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.0003016/0.0003016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004759/0.0007775, 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.0003737/0.0003737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000408/0.0007817, 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.1065/0.1065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04147/0.1479, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.2742/0.2742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.4189/0.6931, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -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_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.635e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.005174/0.00521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005509/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.01121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009269/0.01213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.01273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.01437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001173/0.01554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.01624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.01769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.01813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000146/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.01844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.01861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.01885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000936/0.01979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001089/0.01989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.619e-06/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.395e-05/0.01991, 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.0017/0.02161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001111/0.02172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.02207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.02281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.02292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.02304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.02374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.02376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.02384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.02385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.02415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.02606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.02652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.02666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.02669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.0272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=72): time 8.296e-06/0.02721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=72): time 0.0006859/0.02789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.02794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.02821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.02835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.02854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.02867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.02889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.07785/0.1067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.1075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.1079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.1079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=107) (initialization): time 0.001112/0.109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.1091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.1091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.1099, 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.0004326/0.1103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.1131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.1135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.1137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.1138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001342/0.1139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.282e-05/0.1139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006997/0.1146, 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.0007857/0.1154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0006279/0.116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.23e-05/0.1161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.1163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000191/0.1189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.1193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.413e-05/0.1193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.03314/0.1525, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.6576862586662173]