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.256/2.256, allocations: 390.5 MB / 398 MB, free: 10.91 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.001086/0.001086, allocations: 176.9 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008524/0.0008523, allocations: 103.5 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.788e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.387, allocations: 152.3 MB / 1.361 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.388, allocations: 74.83 kB / 1.361 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02442/1.412, allocations: 9.388 MB / 1.37 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.412, allocations: 0 / 1.37 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.03e-05/1.412, allocations: 15.56 kB / 1.37 GB, free: 32.74 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.001525/1.414, allocations: 0.9026 MB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.414, allocations: 11.56 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.414, allocations: 77.52 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/1.415, allocations: 0.5228 MB / 1.372 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.415, allocations: 22.77 kB / 1.372 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/1.415, allocations: 49.55 kB / 1.372 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005197/1.415, allocations: 305.3 kB / 1.372 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/1.416, allocations: 399.1 kB / 1.373 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.416, allocations: 3.938 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/1.416, allocations: 6.625 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/1.416, allocations: 11.62 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/1.418, allocations: 1.437 MB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/1.419, allocations: 419.7 kB / 1.374 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/1.419, allocations: 164.9 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.419, allocations: 3.875 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/1.42, allocations: 348.3 kB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.214e-06/1.42, allocations: 0 / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0007862/1.421, allocations: 0.5148 MB / 1.375 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/1.421, allocations: 63.53 kB / 1.375 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/1.421, allocations: 319.1 kB / 1.376 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/1.421, allocations: 44.14 kB / 1.376 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/1.421, allocations: 254.5 kB / 1.376 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/1.421, allocations: 121.3 kB / 1.376 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/1.421, allocations: 0 / 1.376 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.421, allocations: 363.2 kB / 1.377 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/1.422, allocations: 178.9 kB / 1.377 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/1.422, allocations: 333.8 kB / 1.377 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/1.423, allocations: 186.5 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.423, allocations: 0 / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009466/1.424, allocations: 0.5483 MB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/1.424, allocations: 70.31 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.424, allocations: 7.891 kB / 1.378 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.424, allocations: 11.66 kB / 1.378 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.424, allocations: 84.95 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.424, allocations: 11.88 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/1.425, allocations: 169 kB / 1.378 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/1.425, allocations: 29.55 kB / 1.378 GB, free: 30.18 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.0001803/1.425, allocations: 158.8 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/1.425, allocations: 50.44 kB / 1.378 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/1.425, allocations: 49.75 kB / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/1.425, allocations: 7.828 kB / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.425, allocations: 0 / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/1.425, allocations: 6.766 kB / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/1.427, allocations: 1.176 MB / 1.38 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.427, allocations: 7.828 kB / 1.38 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/1.427, allocations: 53.36 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.427, allocations: 3.875 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.427, allocations: 13.38 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.427, allocations: 7.812 kB / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.427, allocations: 0 / 1.38 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/1.428, allocations: 0.6293 MB / 1.38 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/1.428, allocations: 122.6 kB / 1.38 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/1.428, allocations: 17.09 kB / 1.38 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/1.428, allocations: 72.09 kB / 1.38 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.429, allocations: 87.62 kB / 1.381 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.429, allocations: 34.09 kB / 1.381 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000193/1.429, allocations: 219.8 kB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.429, allocations: 0 / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004831/1.429, allocations: 126.8 kB / 1.381 GB, free: 29.28 MB / 0.8386 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.0002287/1.429, allocations: 156.5 kB / 1.381 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007577/1.43, allocations: 0.5845 MB / 1.382 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.43, allocations: 3.875 kB / 1.382 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/1.431, allocations: 276.3 kB / 1.382 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/1.431, allocations: 70.97 kB / 1.382 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.432, allocations: 0.6695 MB / 1.383 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/1.433, allocations: 0.8703 MB / 1.383 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002246/1.433, allocations: 51.67 kB / 1.383 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.433, allocations: 44.92 kB / 1.384 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.433, allocations: 0 / 1.384 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.0101/1.443, allocations: 6.122 MB / 1.389 GB, free: 25.32 MB / 0.8386 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