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.444/2.444, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001154/0.001154, allocations: 184.9 kB / 492.3 MB, free: 0.6328 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.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008403/0.0008402, allocations: 95.08 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.516e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2786, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9553/1.234, allocations: 152.2 MB / 1.361 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.234, allocations: 75.45 kB / 1.361 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0244/1.259, allocations: 9.46 MB / 1.37 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/1.259, allocations: 3.875 kB / 1.37 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.481e-05/1.259, allocations: 19.62 kB / 1.37 GB, free: 34.2 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.00151/1.26, allocations: 0.9005 MB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.26, allocations: 11.5 kB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/1.26, allocations: 80.61 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/1.261, allocations: 0.5229 MB / 1.372 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/1.261, allocations: 51.44 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/1.262, allocations: 69.23 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/1.262, allocations: 468.9 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.262, allocations: 0 / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/1.262, allocations: 20.48 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.262, allocations: 11.5 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/1.263, allocations: 338.1 kB / 1.373 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/1.265, allocations: 1.528 MB / 1.374 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/1.266, allocations: 461 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/1.266, allocations: 186 kB / 1.375 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/1.266, allocations: 3.844 kB / 1.375 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/1.267, allocations: 371.1 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 1.784e-06/1.267, allocations: 3.938 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0008406/1.267, allocations: 0.5554 MB / 1.376 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.268, allocations: 63.5 kB / 1.376 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/1.268, allocations: 358.5 kB / 1.376 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/1.268, allocations: 57.14 kB / 1.376 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/1.268, allocations: 264.5 kB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/1.268, allocations: 113.2 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/1.268, allocations: 18.16 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.268, allocations: 369.6 kB / 1.377 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.269, allocations: 190.5 kB / 1.377 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/1.269, allocations: 356.8 kB / 1.378 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/1.269, allocations: 241.8 kB / 1.378 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.27, allocations: 7.938 kB / 1.378 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008887/1.27, allocations: 0.6467 MB / 1.378 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/1.27, allocations: 75.03 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.27, allocations: 6.531 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.271, allocations: 11.72 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/1.271, allocations: 83.06 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.271, allocations: 11.62 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/1.272, allocations: 172.4 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/1.272, allocations: 33.64 kB / 1.379 GB, free: 31.45 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.0002052/1.272, allocations: 174.5 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/1.272, allocations: 53.34 kB / 1.379 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/1.272, allocations: 57.42 kB / 1.379 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/1.272, allocations: 3.906 kB / 1.379 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/1.272, allocations: 4 kB / 1.379 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.272, allocations: 2.766 kB / 1.379 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/1.274, allocations: 1.301 MB / 1.38 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.274, allocations: 0 / 1.38 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.274, allocations: 61.14 kB / 1.38 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.274, allocations: 3.844 kB / 1.38 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.274, allocations: 15.58 kB / 1.38 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.274, allocations: 3.844 kB / 1.38 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.274, allocations: 0 / 1.38 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/1.275, allocations: 0.6864 MB / 1.381 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/1.275, allocations: 125.9 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/1.275, allocations: 20.62 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/1.275, allocations: 78.64 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.275, allocations: 83.8 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/1.276, allocations: 29.42 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002283/1.276, allocations: 252 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.276, allocations: 0 / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005393/1.276, allocations: 156.7 kB / 1.382 GB, free: 30.5 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.0002326/1.277, allocations: 156.3 kB / 1.382 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008347/1.277, allocations: 0.6268 MB / 1.383 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.277, allocations: 0 / 1.383 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/1.278, allocations: 298.5 kB / 1.383 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/1.278, allocations: 74.81 kB / 1.383 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.279, allocations: 0.7159 MB / 1.384 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/1.28, allocations: 0.8702 MB / 1.384 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002079/1.28, allocations: 57.73 kB / 1.385 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/1.28, allocations: 45.7 kB / 1.385 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 6.62e-07/1.28, allocations: 0 / 1.385 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.01055/1.291, allocations: 6.625 MB / 1.391 GB, free: 26.01 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