Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001075/0.001075, allocations: 184.8 kB / 487.4 MB, free: 5.016 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.524/1.524, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009755, allocations: 87.92 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.134e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.288, allocations: 151.5 MB / 1.354 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.288, allocations: 74.56 kB / 1.354 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02486/1.313, allocations: 9.4 MB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.053e-06/1.313, allocations: 3.938 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.001e-05/1.313, allocations: 15.5 kB / 1.363 GB, free: 33.63 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.001687/1.315, allocations: 0.8988 MB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.315, allocations: 11.66 kB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/1.315, allocations: 80.73 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/1.316, allocations: 0.5214 MB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/1.316, allocations: 25.23 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/1.316, allocations: 49.45 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005491/1.316, allocations: 305.4 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/1.317, allocations: 400.5 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.317, allocations: 2.953 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/1.317, allocations: 10.05 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.317, allocations: 11.03 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/1.319, allocations: 1.427 MB / 1.367 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/1.32, allocations: 419.7 kB / 1.367 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/1.32, allocations: 166 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/1.32, allocations: 3.844 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/1.321, allocations: 346.1 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.715e-06/1.321, allocations: 3.938 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0007956/1.322, allocations: 0.5171 MB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.322, allocations: 59.69 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/1.322, allocations: 318.2 kB / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/1.322, allocations: 47 kB / 1.369 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/1.322, allocations: 256.7 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/1.322, allocations: 110.8 kB / 1.369 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/1.322, allocations: 3.656 kB / 1.369 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.323, allocations: 360.8 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.323, allocations: 189.4 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/1.323, allocations: 337.6 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/1.324, allocations: 183.5 kB / 1.37 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.324, allocations: 3.875 kB / 1.37 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009218/1.325, allocations: 0.5497 MB / 1.371 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/1.325, allocations: 68.61 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.325, allocations: 3.844 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.325, allocations: 7.797 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/1.325, allocations: 98.91 kB / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.325, allocations: 10.69 kB / 1.371 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/1.326, allocations: 158.3 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/1.326, allocations: 31.66 kB / 1.371 GB, free: 31.07 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.0002075/1.326, allocations: 155.6 kB / 1.371 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/1.326, allocations: 53.42 kB / 1.371 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.326, allocations: 45.81 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.326, allocations: 7.656 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.326, allocations: 3.953 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.326, allocations: 2.531 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/1.328, allocations: 1.173 MB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.328, allocations: 3.969 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/1.328, allocations: 57.89 kB / 1.372 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.328, allocations: 7.828 kB / 1.372 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/1.328, allocations: 13.83 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.328, allocations: 3.844 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.328, allocations: 3.938 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/1.329, allocations: 0.6312 MB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/1.329, allocations: 123.6 kB / 1.373 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/1.329, allocations: 21.2 kB / 1.373 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/1.329, allocations: 73.16 kB / 1.373 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.33, allocations: 82.72 kB / 1.373 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/1.33, allocations: 31.36 kB / 1.373 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001995/1.33, allocations: 220.9 kB / 1.374 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.33, allocations: 0 / 1.374 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005134/1.33, allocations: 126.9 kB / 1.374 GB, free: 30.16 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.0002149/1.331, allocations: 149.3 kB / 1.374 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007474/1.331, allocations: 0.5855 MB / 1.374 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.331, allocations: 4.062 kB / 1.374 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.332, allocations: 278.5 kB / 1.375 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.332, allocations: 69.12 kB / 1.375 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.333, allocations: 0.6802 MB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/1.334, allocations: 0.8713 MB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002167/1.334, allocations: 49.09 kB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.334, allocations: 41.48 kB / 1.376 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/1.334, allocations: 0 / 1.376 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.01028/1.344, allocations: 6.115 MB / 1.382 GB, free: 27.12 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches