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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001467/0.001467, allocations: 108.1 kB / 16.41 MB, free: 6.449 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.001619/0.001619, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.84 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9314, allocations: 159.9 MB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.004477/0.9359, allocations: 2.454 MB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.9388, allocations: 1.946 MB / 1.231 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.9392, allocations: 23.88 kB / 1.231 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.9396, allocations: 126.6 kB / 1.231 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.9398, allocations: 114.9 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.9408, allocations: 482.4 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009446/0.9417, allocations: 1.094 MB / 1.232 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.9424, allocations: 0.4917 MB / 1.233 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.9428, allocations: 418.6 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.9432, allocations: 434 kB / 1.234 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.9434, allocations: 127.9 kB / 1.234 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.9436, allocations: 136 kB / 1.234 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.9438, allocations: 239.3 kB / 1.234 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.9441, allocations: 469.7 kB / 1.235 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.9454, allocations: 1.362 MB / 1.236 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9454, allocations: 4 kB / 1.236 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9454, allocations: 0 / 1.236 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.9455, allocations: 0 / 1.236 GB, free: 3.52 MB / 0.9512 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.002105/0.9476, allocations: 1.224 MB / 1.237 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9476, allocations: 8.031 kB / 1.237 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.9478, allocations: 104.4 kB / 1.237 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.9492, allocations: 0.7105 MB / 1.238 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.9493, allocations: 66.36 kB / 1.238 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.9494, allocations: 96.34 kB / 1.238 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.9505, allocations: 0.6794 MB / 1.239 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.9506, allocations: 7.922 kB / 1.239 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.9506, allocations: 35.97 kB / 1.239 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.9507, allocations: 20 kB / 1.239 GB, free: 484 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.9517, allocations: 0.4959 MB / 1.239 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.9544, allocations: 1.844 MB / 1.241 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.9556, allocations: 0.6685 MB / 1.242 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.9561, allocations: 286 kB / 1.242 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.9562, allocations: 8.578 kB / 1.242 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/0.957, allocations: 487.8 kB / 1.243 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=72): time 3.005e-06/0.957, allocations: 0 / 1.243 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=72): time 0.001967/0.959, allocations: 1.03 MB / 1.244 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.959, allocations: 64.05 kB / 1.244 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.9595, allocations: 497.6 kB / 1.244 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.9596, allocations: 65.69 kB / 1.244 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.9599, allocations: 345.3 kB / 1.244 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.96, allocations: 166.7 kB / 1.245 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.9602, allocations: 198.6 kB / 1.245 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9604, allocations: 374.8 kB / 1.245 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.9609, allocations: 237.9 kB / 1.245 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.9616, allocations: 455.1 kB / 1.246 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.9625, allocations: 0.6021 MB / 1.246 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.9625, allocations: 4 kB / 1.246 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001366/0.9639, allocations: 0.7855 MB / 1.247 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.9639, allocations: 33.7 kB / 1.247 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.9639, allocations: 4 kB / 1.247 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.964, allocations: 16.03 kB / 1.247 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.9643, allocations: 111.6 kB / 1.247 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.9644, allocations: 15.94 kB / 1.247 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.9649, allocations: 115.5 kB / 1.247 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.965, allocations: 40 kB / 1.248 GB, free: 7.258 MB / 0.9669 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.0003782/0.9654, allocations: 274.1 kB / 1.248 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.9655, allocations: 71.58 kB / 1.248 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.9656, allocations: 73.67 kB / 1.248 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.9656, allocations: 7.922 kB / 1.248 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9656, allocations: 4 kB / 1.248 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.9657, allocations: 136.6 kB / 1.248 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.9658, allocations: 27.97 kB / 1.248 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.9662, allocations: 63.92 kB / 1.248 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.9664, allocations: 96.52 kB / 1.248 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001562/0.9679, allocations: 0.8759 MB / 1.249 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001396/0.9694, allocations: 0.9736 MB / 1.25 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005732/0.9699, allocations: 381.1 kB / 1.25 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002884/0.9702, allocations: 298.8 kB / 1.251 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of Backend: time 6.92e-07/0.9702, allocations: 0 / 1.251 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.9716, allocations: 0.5721 MB / 1.251 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001788/0.9734, allocations: 1.501 MB / 1.253 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.01593/0.9893, allocations: 9.045 MB / 1.262 GB, free: 8.832 MB / 0.9825 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