Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VDis_flow|ala.VActSet_flow|ala.yLowFloAla|ala.u1Fan|ala.VCooMax_flow|ala.yFloSenAla|ala.uDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 184 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 0.7915 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.000858, allocations: 91.89 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.251e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.297, allocations: 153 MB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/1.297, allocations: 73.55 kB / 1.368 GB, free: 1.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02785/1.325, allocations: 9.455 MB / 1.378 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.325, allocations: 0 / 1.378 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.806e-05/1.325, allocations: 16 kB / 1.378 GB, free: 8.953 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002459/1.328, allocations: 0.9035 MB / 1.378 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.328, allocations: 12.03 kB / 1.378 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/1.328, allocations: 75.25 kB / 1.379 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/1.329, allocations: 0.5207 MB / 1.379 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/1.33, allocations: 52.23 kB / 1.379 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.33, allocations: 68.61 kB / 1.379 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.331, allocations: 463.5 kB / 1.38 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.331, allocations: 0 / 1.38 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/1.331, allocations: 28.98 kB / 1.38 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.331, allocations: 16 kB / 1.38 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/1.332, allocations: 327.2 kB / 1.38 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/1.335, allocations: 1.542 MB / 1.381 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/1.336, allocations: 467.5 kB / 1.382 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/1.336, allocations: 191.2 kB / 1.382 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/1.336, allocations: 4.625 kB / 1.382 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000642/1.337, allocations: 359.7 kB / 1.382 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.425e-06/1.337, allocations: 0 / 1.382 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.001072/1.338, allocations: 0.55 MB / 1.383 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/1.338, allocations: 59.83 kB / 1.383 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/1.338, allocations: 362.4 kB / 1.383 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.338, allocations: 53.02 kB / 1.383 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/1.339, allocations: 261.2 kB / 1.384 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/1.339, allocations: 131 kB / 1.384 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/1.339, allocations: 18 kB / 1.384 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.339, allocations: 366.9 kB / 1.384 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/1.34, allocations: 191.8 kB / 1.384 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/1.34, allocations: 351.8 kB / 1.385 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/1.341, allocations: 243.9 kB / 1.385 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.341, allocations: 4 kB / 1.385 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001136/1.342, allocations: 0.65 MB / 1.386 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/1.342, allocations: 78.08 kB / 1.386 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.342, allocations: 4 kB / 1.386 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.342, allocations: 8 kB / 1.386 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/1.342, allocations: 83.06 kB / 1.386 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.342, allocations: 11.94 kB / 1.386 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/1.343, allocations: 165.4 kB / 1.386 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/1.343, allocations: 34.48 kB / 1.386 GB, free: 1.957 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel3.t_next,$whenCondition7,$PRE.ala.truDel2.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,$PRE.ala.les.lesHys.y,ala.les.lesHys.y,ala.truDel.u,ala.truDel.y,$PRE.ala.greThr.greHys.y,ala.greThr.greHys.y,$PRE.ala.gre.greHys.y,ala.gre.greHys.y,ala.truDel1.u,ala.truDel1.y,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.booToInt1.y,ala.and3.y,ala.assMes1.u,ala.truDel2.u,ala.truDel2.y,$PRE.ala.gre1.greHys.y,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.u,ala.truDel3.y,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,ala.booToInt3.u,$PRE.supFan.y,supFan.y,$PRE.damSta.y,damSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/1.343, allocations: 178.8 kB / 1.386 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.344, allocations: 59.3 kB / 1.386 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/1.344, allocations: 55.42 kB / 1.386 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.344, allocations: 8 kB / 1.386 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.344, allocations: 0 / 1.386 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.344, allocations: 3.984 kB / 1.386 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/1.346, allocations: 1.308 MB / 1.387 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.346, allocations: 0 / 1.387 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/1.346, allocations: 55.2 kB / 1.388 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.346, allocations: 4 kB / 1.388 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/1.346, allocations: 14.55 kB / 1.388 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/1.346, allocations: 4 kB / 1.388 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.346, allocations: 0 / 1.388 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/1.347, allocations: 0.6856 MB / 1.388 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.347, allocations: 119.6 kB / 1.388 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/1.347, allocations: 22.11 kB / 1.388 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/1.348, allocations: 87.47 kB / 1.388 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.348, allocations: 81.05 kB / 1.389 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/1.348, allocations: 26.36 kB / 1.389 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00029/1.348, allocations: 263.9 kB / 1.389 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.348, allocations: 0 / 1.389 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006219/1.349, allocations: 145.6 kB / 1.389 GB, free: 15.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 (ala.truDel2.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.les.lesHys.y,ala.truDel.y,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre.greHys.y,ala.truDel1.y,ala.truDel1.t_next,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.and3.y,ala.assMes1.u,ala.truDel2.y,ala.truDel2.t_next,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.y,ala.truDel3.t_next,ala.cloDam.lesHys.y,ala.booToInt3.u,supFan.y,damSta.y,ala.booToInt1.y) * Number of discrete states: 9 (ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre1.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002815/1.349, allocations: 153 kB / 1.389 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.35, allocations: 0.6319 MB / 1.39 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.35, allocations: 7.922 kB / 1.39 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/1.351, allocations: 291.5 kB / 1.39 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/1.351, allocations: 76.31 kB / 1.39 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.353, allocations: 0.7044 MB / 1.391 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/1.353, allocations: 0.8764 MB / 1.392 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002578/1.353, allocations: 55.38 kB / 1.392 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/1.354, allocations: 42.73 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/1.354, allocations: 4 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.01677/1.37, allocations: 6.612 MB / 1.398 GB, free: 6.414 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches