Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001373/0.001373, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001377/0.001377, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.435/1.435, 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 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.8713, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms): time 0.003748/0.8751, allocations: 2.465 MB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.8779, allocations: 1.939 MB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.8782, allocations: 23.88 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.8786, allocations: 134.5 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.8788, allocations: 102.9 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.8798, allocations: 486.6 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.8808, allocations: 1.097 MB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007001/0.8815, allocations: 0.4956 MB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.882, allocations: 418.6 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.8825, allocations: 441.9 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.8826, allocations: 120 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.8829, allocations: 132 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.8831, allocations: 243.3 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.8835, allocations: 465.8 kB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.8849, allocations: 1.356 MB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8849, allocations: 0 / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8849, allocations: 0 / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.8849, allocations: 4 kB / 1.177 GB, free: 9.98 MB / 0.9044 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.002418/0.8874, allocations: 1.198 MB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.8874, allocations: 8.031 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.8876, allocations: 103.9 kB / 1.178 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.8891, allocations: 0.706 MB / 1.179 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.8892, allocations: 66.36 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.8894, allocations: 92.36 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.8906, allocations: 0.6755 MB / 1.18 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.8906, allocations: 3.938 kB / 1.18 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.8907, allocations: 35.98 kB / 1.18 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.8907, allocations: 19.98 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.8918, allocations: 0.5036 MB / 1.18 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.8949, allocations: 1.832 MB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.8962, allocations: 0.6659 MB / 1.183 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.8967, allocations: 282 kB / 1.183 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.8968, allocations: 4.438 kB / 1.183 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000882/0.8977, allocations: 487.9 kB / 1.183 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/0.8977, allocations: 4 kB / 1.183 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=72): time 0.002054/0.8997, allocations: 1.028 MB / 1.184 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.8998, allocations: 64.05 kB / 1.185 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.9003, allocations: 493.4 kB / 1.185 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.9004, allocations: 57.7 kB / 1.185 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.9006, allocations: 349.7 kB / 1.185 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.9008, allocations: 158 kB / 1.186 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.9011, allocations: 202.6 kB / 1.186 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9012, allocations: 370.8 kB / 1.186 GB, free: 396 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.9018, allocations: 237.9 kB / 1.186 GB, free: 160 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.9025, allocations: 455.2 kB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.9035, allocations: 0.6098 MB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9035, allocations: 0 / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001423/0.905, allocations: 0.7729 MB / 1.188 GB, free: 14.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.905, allocations: 37.7 kB / 1.188 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.905, allocations: 8 kB / 1.188 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.9051, allocations: 16.59 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.9055, allocations: 107.7 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.9055, allocations: 11.94 kB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.9061, allocations: 123.3 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.9062, allocations: 32 kB / 1.188 GB, free: 13.8 MB / 0.92 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.0003746/0.9066, allocations: 273.5 kB / 1.189 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.9067, allocations: 71.25 kB / 1.189 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.9068, allocations: 69.69 kB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.9069, allocations: 11.92 kB / 1.189 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9069, allocations: 0 / 1.189 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.907, allocations: 132.2 kB / 1.189 GB, free: 13.22 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.9071, allocations: 31.98 kB / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.9075, allocations: 51.92 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.9077, allocations: 108.5 kB / 1.189 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001603/0.9093, allocations: 0.8718 MB / 1.19 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001469/0.9108, allocations: 0.9733 MB / 1.191 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006023/0.9114, allocations: 381.1 kB / 1.191 GB, free: 10.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003079/0.9117, allocations: 290.9 kB / 1.192 GB, free: 10.52 MB / 0.92 GB Notification: Performance of Backend: time 2.5e-07/0.9117, allocations: 0 / 1.192 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.913, allocations: 0.5864 MB / 1.192 GB, free: 9.914 MB / 0.92 GB Notification: Performance of SimCode: time 0.001863/0.9149, allocations: 1.482 MB / 1.194 GB, free: 8.379 MB / 0.92 GB Notification: Performance of Templates: time 0.01587/0.9308, allocations: 9.034 MB / 1.202 GB, free: 15.42 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches