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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 114.6 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001928, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9293/0.9308, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.004388/0.9353, allocations: 2.464 MB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.9386, allocations: 1.946 MB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.9393, allocations: 23.88 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.9399, allocations: 118.6 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.9404, allocations: 102.9 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.9417, allocations: 486.9 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.9433, allocations: 1.097 MB / 1.215 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009461/0.9442, allocations: 499.5 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.945, allocations: 426.5 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.9456, allocations: 434 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.9458, allocations: 120 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.946, allocations: 136 kB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.9462, allocations: 239.3 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.9466, allocations: 473.7 kB / 1.217 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9479, allocations: 1.352 MB / 1.218 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9479, allocations: 4 kB / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9479, allocations: 0 / 1.218 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.948, allocations: 0 / 1.218 GB, free: 3.75 MB / 0.9356 GB 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.002409/0.9504, allocations: 1.202 MB / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.9504, allocations: 12.02 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.9507, allocations: 99.91 kB / 1.219 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.9522, allocations: 0.7061 MB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.9523, allocations: 70.36 kB / 1.22 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.9524, allocations: 88.36 kB / 1.22 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.9537, allocations: 0.6833 MB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.9537, allocations: 3.938 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.9538, allocations: 31.98 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.9538, allocations: 16 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.9549, allocations: 0.5075 MB / 1.221 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/0.9578, allocations: 1.832 MB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.9591, allocations: 0.6649 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.9596, allocations: 274 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.9596, allocations: 8.438 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.9605, allocations: 491.7 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=72): time 2.165e-06/0.9605, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72): time 0.001925/0.9625, allocations: 1.032 MB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.9625, allocations: 56.06 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.9631, allocations: 489.4 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.9632, allocations: 65.7 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.9634, allocations: 337.7 kB / 1.226 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.9636, allocations: 169.9 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.9639, allocations: 194.6 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.9641, allocations: 374.8 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.9646, allocations: 241.8 kB / 1.227 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.9653, allocations: 451.2 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.9663, allocations: 0.606 MB / 1.228 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9663, allocations: 4 kB / 1.228 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001467/0.9678, allocations: 0.7808 MB / 1.229 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.9678, allocations: 37.69 kB / 1.229 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.9678, allocations: 8 kB / 1.229 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.9679, allocations: 8 kB / 1.229 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.9683, allocations: 108.1 kB / 1.229 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.9683, allocations: 15.94 kB / 1.229 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/0.9689, allocations: 119.3 kB / 1.229 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.969, allocations: 40 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB 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.000396/0.9694, allocations: 269.6 kB / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.9695, allocations: 71.23 kB / 1.23 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.9697, allocations: 69.69 kB / 1.23 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.9697, allocations: 7.922 kB / 1.23 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9697, allocations: 4 kB / 1.23 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.9698, allocations: 136.2 kB / 1.23 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.9699, allocations: 31.98 kB / 1.23 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.9703, allocations: 51.92 kB / 1.23 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.9706, allocations: 100.5 kB / 1.23 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001787/0.9724, allocations: 0.8797 MB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001448/0.9738, allocations: 0.9694 MB / 1.232 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006163/0.9745, allocations: 385.1 kB / 1.232 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003353/0.9748, allocations: 290.9 kB / 1.233 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of Backend: time 8.31e-07/0.9748, allocations: 0 / 1.233 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.9763, allocations: 0.5712 MB / 1.233 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001967/0.9782, allocations: 1.479 MB / 1.235 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of Templates: time 0.0167/0.995, allocations: 9.037 MB / 1.244 GB, free: 9.191 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches