Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TerminalUnits.Reheat.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.uDam|ala.uVal|ala.TSup|ala.TDis|ala.TDisSet|ala.yFloSenAla|ala.yLowTemAla|ala.yLeaValAla",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001934/0.001934, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms): time 0.004529/1.012, allocations: 3.131 MB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003344/1.016, allocations: 2.246 MB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/1.016, allocations: 28.97 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/1.017, allocations: 166.5 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003549/1.017, allocations: 149 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/1.019, allocations: 0.7458 MB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001823/1.021, allocations: 1.537 MB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/1.022, allocations: 0.6099 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/1.023, allocations: 0.5639 MB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/1.024, allocations: 0.5763 MB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003226/1.024, allocations: 161.2 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/1.024, allocations: 175.7 kB / 1.099 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003334/1.025, allocations: 306.5 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006897/1.025, allocations: 0.6092 MB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/1.028, allocations: 1.907 MB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.028, allocations: 0 / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/1.028, allocations: 3.938 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.92e-05/1.028, allocations: 0 / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003516/1.031, allocations: 1.545 MB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.031, allocations: 8.375 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/1.032, allocations: 136.6 kB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/1.034, allocations: 0.8739 MB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/1.034, allocations: 83.88 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.034, allocations: 120.7 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/1.037, allocations: 0.8547 MB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.037, allocations: 4.516 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.037, allocations: 45.66 kB / 1.105 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.037, allocations: 19.72 kB / 1.105 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.038, allocations: 0.6577 MB / 1.105 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005069/1.044, allocations: 2.63 MB / 1.108 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/1.045, allocations: 0.7819 MB / 1.109 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/1.046, allocations: 346.7 kB / 1.109 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/1.046, allocations: 6.656 kB / 1.109 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.048, allocations: 0.607 MB / 1.11 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/1.048, allocations: 0 / 1.11 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89): time 0.003505/1.051, allocations: 1.322 MB / 1.111 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.051, allocations: 71.59 kB / 1.111 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/1.052, allocations: 0.628 MB / 1.112 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.052, allocations: 71.72 kB / 1.112 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/1.053, allocations: 435.5 kB / 1.112 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.053, allocations: 196.8 kB / 1.112 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/1.054, allocations: 269.2 kB / 1.113 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.054, allocations: 397.6 kB / 1.113 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/1.055, allocations: 362.6 kB / 1.113 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.056, allocations: 0.6348 MB / 1.114 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.058, allocations: 0.9261 MB / 1.115 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.058, allocations: 2.031 kB / 1.115 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002558/1.06, allocations: 1.192 MB / 1.116 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/1.06, allocations: 98.34 kB / 1.116 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.06, allocations: 9.469 kB / 1.116 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.06, allocations: 14.16 kB / 1.116 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/1.061, allocations: 145.2 kB / 1.116 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/1.061, allocations: 21.14 kB / 1.116 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.062, allocations: 208.3 kB / 1.117 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.062, allocations: 59.69 kB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 112 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$PRE.ala.truDel4.u,$PRE.ala.truDel5.u,$PRE.ala.truDel6.u,$PRE.ala.truDel.t_next,$whenCondition25,$PRE.ala.truDel1.t_next,$whenCondition22,$PRE.ala.truDel2.t_next,$whenCondition19,$PRE.ala.truDel3.t_next,$whenCondition16,$PRE.ala.truDel4.t_next,$whenCondition13,$PRE.ala.truDel5.t_next,$whenCondition10,$PRE.ala.truDel6.t_next,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ala.truDel.t_next,ala.truDel1.t_next,ala.truDel2.t_next,ala.truDel3.t_next,ala.truDel4.t_next,ala.truDel5.t_next,ala.truDel6.t_next,ala.conInt2.y,ala.conInt.y,ala.greThr1.y,ala.greThr2.y,ala.booToInt5.y,ala.booToInt1.y,hotPla.y,$PRE.hotPla.y,damSta.y,$PRE.damSta.y,supFan.y,$PRE.supFan.y,ala.not8.y,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.cloVal.lesHys.y,$PRE.ala.cloVal.lesHys.y,ala.truDel6.y,ala.truDel6.u,ala.not7.y,ala.booToInt4.y,ala.and8.y,ala.lowTemAla.y,ala.not6.y,ala.and6.y,ala.truDel5.y,ala.truDel5.u,ala.truDel4.y,ala.truDel4.u,ala.les2.lesHys.y,$PRE.ala.les2.lesHys.y,ala.les1.lesHys.y,$PRE.ala.les1.lesHys.y,ala.not5.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.truDel3.y,ala.truDel3.u,ala.not4.y,ala.gre1.greHys.y,$PRE.ala.gre1.greHys.y,ala.truDel2.y,ala.truDel2.u,ala.not2.y,ala.not1.y,ala.booToInt.y,ala.lowFloAla.y,ala.and1.y,ala.and2.y,ala.truDel1.y,ala.truDel1.u,ala.gre.greHys.y,$PRE.ala.gre.greHys.y,ala.greThr.greHys.y,$PRE.ala.greThr.greHys.y,ala.truDel.y,ala.truDel.u,ala.les.lesHys.y,$PRE.ala.les.lesHys.y,ala.yLowTemAla,ala.yLeaValAla,ala.yLeaDamAla,ala.yFloSenAla,ala.yLowFloAla,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,$whenCondition21,$whenCondition20,$whenCondition24,$whenCondition23,$whenCondition27,$whenCondition26) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * 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.0005482/1.063, allocations: 326.4 kB / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.063, allocations: 89.12 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.063, allocations: 90.2 kB / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.063, allocations: 4.266 kB / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.063, allocations: 0 / 1.117 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/1.063, allocations: 156.7 kB / 1.117 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.064, allocations: 38.28 kB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/1.064, allocations: 86.11 kB / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/1.064, allocations: 138 kB / 1.117 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00241/1.067, allocations: 1.103 MB / 1.119 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/1.069, allocations: 1.189 MB / 1.12 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000949/1.07, allocations: 485.7 kB / 1.12 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004896/1.071, allocations: 398 kB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of Backend: time 5.71e-07/1.071, allocations: 0 / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0021/1.073, allocations: 0.8985 MB / 1.121 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002524/1.075, allocations: 1.781 MB / 1.123 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of Templates: time 0.03227/1.107, allocations: 12.91 MB / 1.136 GB, free: 15.41 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches