Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [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.001586/0.001586, allocations: 212.2 kB / 23 MB, free: 4.977 MB / 14.72 MB " [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 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ala.VActSet_flow|ala.VColDucDis_flow|ala.VHotDucDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.VHeaMax_flow|ala.yColFloSenAla|ala.yHotFloSenAla|ala.uOpeMod|ala.uCooDam|ala.uHeaDam|ala.yColLeaDamAla|ala.yHotLeaDamAla",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 75.59 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms): time 0.005329/0.4001, allocations: 2.697 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003963/0.4041, allocations: 2.402 MB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.4047, allocations: 27.81 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.4052, allocations: 138.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.4056, allocations: 162.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.4082, allocations: 0.9141 MB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.411, allocations: 1.632 MB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.412, allocations: 421.8 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.4132, allocations: 0.631 MB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.4142, allocations: 0.6263 MB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.4145, allocations: 180 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.4148, allocations: 188 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.4151, allocations: 299.2 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.4157, allocations: 0.5369 MB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.4182, allocations: 1.996 MB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4182, allocations: 4 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4182, allocations: 0 / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.507e-05/0.4182, allocations: 0 / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003282/0.4215, allocations: 1.555 MB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4215, allocations: 12.03 kB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.4218, allocations: 148.1 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.424, allocations: 0.7846 MB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4241, allocations: 90.34 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.4244, allocations: 132.3 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.4263, allocations: 1.013 MB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.4264, allocations: 7.922 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.4265, allocations: 39.98 kB / 1.343 GB, free: 188 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.4265, allocations: 20 kB / 1.343 GB, free: 168 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4282, allocations: 0.6792 MB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.4328, allocations: 2.113 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.4347, allocations: 0.806 MB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.4356, allocations: 322.6 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.4356, allocations: 4.656 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.4372, allocations: 0.8499 MB / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of pre-optimization done (n=99): time 4.068e-06/0.4372, allocations: 0 / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=99): time 0.003631/0.4408, allocations: 1.507 MB / 1.349 GB, free: 9.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.4409, allocations: 72.41 kB / 1.35 GB, free: 9.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.4417, allocations: 0.6131 MB / 1.35 GB, free: 9.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4419, allocations: 85.62 kB / 1.35 GB, free: 8.969 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.4423, allocations: 413.8 kB / 1.351 GB, free: 8.559 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.4425, allocations: 234.2 kB / 1.351 GB, free: 8.328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.443, allocations: 298.8 kB / 1.351 GB, free: 8.031 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.4433, allocations: 398.7 kB / 1.352 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4444, allocations: 0.5653 MB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.4459, allocations: 0.8695 MB / 1.353 GB, free: 6.008 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.4479, allocations: 1.065 MB / 1.354 GB, free: 4.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4479, allocations: 4 kB / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003166/0.451, allocations: 1.58 MB / 1.356 GB, free: 3.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.4512, allocations: 160.4 kB / 1.356 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.4512, allocations: 12 kB / 1.356 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.4512, allocations: 16 kB / 1.356 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.4518, allocations: 147.6 kB / 1.356 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/0.4518, allocations: 23.92 kB / 1.356 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.4533, allocations: 263.2 kB / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.4535, allocations: 67.92 kB / 1.356 GB, free: 2.426 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 119 ($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.fanIni.u,$PRE.ala.truDel.t_next,$whenCondition32,$PRE.ala.truDel1.t_next,$whenCondition29,$PRE.ala.truDel2.t_next,$whenCondition26,$PRE.ala.truDel3.t_next,$whenCondition23,$PRE.ala.truDel4.t_next,$whenCondition20,$PRE.ala.truDel5.t_next,$whenCondition17,$PRE.ala.truDel6.t_next,$whenCondition14,$PRE.ala.fanIni.t_next,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$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.fanIni.t_next,ala.occMod.y,ala.conInt.y,ala.greThr1.y,ala.booToInt1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,heaDammSta.y,$PRE.heaDammSta.y,supHeaFan.y,$PRE.supHeaFan.y,colDammSta.y,$PRE.colDammSta.y,supCooFan.y,$PRE.supCooFan.y,ala.isOcc.y,ala.fanIni.y,ala.fanIni.u,ala.truDel6.y,ala.truDel6.u,ala.leaDamAla1.y,ala.cloDam1.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.truDel5.y,ala.truDel5.u,ala.gre2.greHys.y,$PRE.ala.gre2.greHys.y,ala.truDel4.y,ala.truDel4.u,ala.leaDamAla.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam.lesHys.y,ala.truDel3.y,ala.truDel3.u,ala.gre1.greHys.y,$PRE.ala.gre1.greHys.y,ala.truDel2.y,ala.truDel2.u,ala.not2.y,ala.and4.y,ala.not1.y,ala.and8.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.yHotLeaDamAla,ala.yHotFloSenAla,ala.yColLeaDamAla,ala.yColFloSenAla,ala.yLowFloAla,$whenCondition13,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition21,$whenCondition25,$whenCondition24,$whenCondition28,$whenCondition27,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 5 * 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.000922/0.4544, allocations: 329.5 kB / 1.356 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.4546, allocations: 95.42 kB / 1.357 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.4549, allocations: 84.56 kB / 1.357 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.4549, allocations: 7.922 kB / 1.357 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4549, allocations: 8 kB / 1.357 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.4551, allocations: 87.23 kB / 1.357 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4553, allocations: 43.97 kB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.4561, allocations: 79.83 kB / 1.357 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004272/0.4566, allocations: 136.8 kB / 1.357 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004455/0.461, allocations: 1.251 MB / 1.358 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00411/0.4651, allocations: 1.335 MB / 1.36 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001404/0.4665, allocations: 427.7 kB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007187/0.4672, allocations: 371.1 kB / 1.36 GB, free: 14.17 MB / 1.061 GB Notification: Performance of Backend: time 5.11e-07/0.4672, allocations: 0 / 1.36 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.4709, allocations: 1.188 MB / 1.361 GB, free: 12.88 MB / 1.061 GB Notification: Performance of SimCode: time 0.00401/0.4749, allocations: 1.82 MB / 1.363 GB, free: 11 MB / 1.061 GB Notification: Performance of Templates: time 0.04065/0.5156, allocations: 16.55 MB / 1.379 GB, free: 10.75 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.656499769997026]