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.524/2.524, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001127/0.001127, allocations: 175.3 kB / 498.1 MB, free: 5.699 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.595/1.595, allocations: 223.2 MB / 0.7949 GB, free: 18.81 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.001009/0.001009, allocations: 92.34 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 9.875 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2794, allocations: 142.3 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.4781, allocations: 152.3 MB / 1.372 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4785, allocations: 79.92 kB / 1.372 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02742/0.5059, allocations: 9.493 MB / 1.381 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.506, allocations: 0 / 1.381 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.506, allocations: 16 kB / 1.381 GB, free: 7.441 MB / 0.8855 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.001879/0.5079, allocations: 0.9709 MB / 1.382 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.508, allocations: 8.031 kB / 1.382 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.5081, allocations: 79.25 kB / 1.382 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5091, allocations: 0.5174 MB / 1.383 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.5092, allocations: 52.92 kB / 1.383 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5093, allocations: 67.98 kB / 1.383 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5104, allocations: 0.5218 MB / 1.383 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5104, allocations: 0 / 1.383 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.5105, allocations: 19.98 kB / 1.383 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5105, allocations: 15.94 kB / 1.383 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/0.5115, allocations: 447.7 kB / 1.384 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.5143, allocations: 1.531 MB / 1.385 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5153, allocations: 0.5208 MB / 1.386 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.5154, allocations: 7.953 kB / 1.386 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/0.5163, allocations: 412.5 kB / 1.386 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=54): time 2.815e-06/0.5163, allocations: 0 / 1.386 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54): time 0.001932/0.5182, allocations: 0.8889 MB / 1.387 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.5183, allocations: 67.83 kB / 1.387 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.5187, allocations: 364.5 kB / 1.387 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.5188, allocations: 53.7 kB / 1.387 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.5191, allocations: 265 kB / 1.388 GB, free: 448 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5192, allocations: 122.5 kB / 1.388 GB, free: 324 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.5192, allocations: 15.98 kB / 1.388 GB, free: 308 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.5194, allocations: 362.8 kB / 1.388 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.52, allocations: 249.2 kB / 1.388 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.5207, allocations: 419.5 kB / 1.389 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.5213, allocations: 293.3 kB / 1.389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5213, allocations: 0 / 1.389 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001499/0.5228, allocations: 0.7628 MB / 1.39 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.5229, allocations: 77.06 kB / 1.39 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5229, allocations: 4 kB / 1.39 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.523, allocations: 8 kB / 1.39 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.5233, allocations: 87.77 kB / 1.39 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.5234, allocations: 11.98 kB / 1.39 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.5241, allocations: 175.5 kB / 1.39 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.5242, allocations: 31.98 kB / 1.39 GB, free: 13.74 MB / 0.9011 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 () * Number of clocked 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.0003407/0.5245, allocations: 230.9 kB / 1.39 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.5246, allocations: 55.42 kB / 1.39 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5247, allocations: 53.09 kB / 1.39 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.5247, allocations: 8 kB / 1.39 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.5248, allocations: 0 / 1.39 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.5248, allocations: 7.984 kB / 1.39 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.5273, allocations: 1.421 MB / 1.392 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5273, allocations: 0 / 1.392 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.5275, allocations: 55.89 kB / 1.392 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.5276, allocations: 0 / 1.392 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.5276, allocations: 23.92 kB / 1.392 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5276, allocations: 0 / 1.392 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5276, allocations: 4 kB / 1.392 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.529, allocations: 0.7797 MB / 1.393 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5292, allocations: 128.4 kB / 1.393 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.5292, allocations: 23.98 kB / 1.393 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.5297, allocations: 79.86 kB / 1.393 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.5298, allocations: 84.3 kB / 1.393 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.5299, allocations: 35.97 kB / 1.393 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002873/0.5302, allocations: 251.2 kB / 1.393 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5302, allocations: 7.938 kB / 1.393 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005973/0.5308, allocations: 151.8 kB / 1.393 GB, free: 10.25 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0002881/0.5311, allocations: 162.9 kB / 1.394 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.5326, allocations: 0.7379 MB / 1.394 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5326, allocations: 3.984 kB / 1.394 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.5333, allocations: 347.4 kB / 1.395 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.5337, allocations: 77.41 kB / 1.395 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.5358, allocations: 1.08 MB / 1.396 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.5364, allocations: 0.8646 MB / 1.397 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.5367, allocations: 59.44 kB / 1.397 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5368, allocations: 39.42 kB / 1.397 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of SimCode: time 1.062e-06/0.5368, allocations: 3.938 kB / 1.397 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of Templates: time 0.01572/0.5525, allocations: 6.595 MB / 1.403 GB, free: 296 kB / 0.9011 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