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.317/2.317, allocations: 393.5 MB / 408.5 MB, free: 11.04 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.001527/0.001527, allocations: 191 kB / 0.4902 GB, free: 2.234 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.584/1.584, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.000987/0.0009868, allocations: 102.7 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 7.781 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5191, allocations: 153.1 MB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5194, allocations: 75.95 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.027/0.5465, allocations: 9.496 MB / 1.388 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5465, allocations: 0 / 1.388 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.11e-05/0.5466, allocations: 16 kB / 1.388 GB, free: 2.566 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.002191/0.5487, allocations: 0.9671 MB / 1.389 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5488, allocations: 8.562 kB / 1.389 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.5491, allocations: 79.16 kB / 1.389 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5503, allocations: 0.5251 MB / 1.39 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.5504, allocations: 52.98 kB / 1.39 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5505, allocations: 67.98 kB / 1.39 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5517, allocations: 0.5256 MB / 1.39 GB, free: 228 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5517, allocations: 0 / 1.39 GB, free: 228 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/0.5518, allocations: 19.98 kB / 1.39 GB, free: 208 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.5518, allocations: 15.94 kB / 1.39 GB, free: 192 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5529, allocations: 443.8 kB / 1.391 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.5563, allocations: 1.535 MB / 1.392 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5574, allocations: 0.5123 MB / 1.393 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.5575, allocations: 7.953 kB / 1.393 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.5585, allocations: 420.5 kB / 1.393 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=54): time 2.635e-06/0.5585, allocations: 0 / 1.393 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54): time 0.002078/0.5606, allocations: 0.885 MB / 1.394 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.5607, allocations: 67.84 kB / 1.394 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.5613, allocations: 360.5 kB / 1.394 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.5615, allocations: 53.7 kB / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.5619, allocations: 268.9 kB / 1.395 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5621, allocations: 126.5 kB / 1.395 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.5622, allocations: 12 kB / 1.395 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002715/0.5624, allocations: 362.8 kB / 1.395 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.5632, allocations: 253.2 kB / 1.395 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.5639, allocations: 410.3 kB / 1.396 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.5646, allocations: 293.3 kB / 1.396 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5647, allocations: 0 / 1.396 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001832/0.5665, allocations: 0.7704 MB / 1.397 GB, free: 9.254 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5666, allocations: 71.34 kB / 1.397 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5667, allocations: 4.125 kB / 1.397 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/0.5667, allocations: 12 kB / 1.397 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.5671, allocations: 83.83 kB / 1.397 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.5672, allocations: 15.86 kB / 1.397 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.5681, allocations: 175.6 kB / 1.397 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.5682, allocations: 28 kB / 1.397 GB, free: 8.859 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.0005177/0.5688, allocations: 227.8 kB / 1.397 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5689, allocations: 55.42 kB / 1.398 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.5691, allocations: 53.03 kB / 1.398 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5691, allocations: 8 kB / 1.398 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.5691, allocations: 7.984 kB / 1.398 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5691, allocations: 3.984 kB / 1.398 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.572, allocations: 1.409 MB / 1.399 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.572, allocations: 0 / 1.399 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5722, allocations: 55.89 kB / 1.399 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.5723, allocations: 4 kB / 1.399 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.5723, allocations: 20.02 kB / 1.399 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5723, allocations: 4 kB / 1.399 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.5723, allocations: 3.984 kB / 1.399 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.5738, allocations: 0.7835 MB / 1.4 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.574, allocations: 124.5 kB / 1.4 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5741, allocations: 27.92 kB / 1.4 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.5746, allocations: 83.97 kB / 1.4 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.5748, allocations: 80.3 kB / 1.4 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.5749, allocations: 31.98 kB / 1.4 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002913/0.5752, allocations: 259.2 kB / 1.4 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5752, allocations: 0 / 1.4 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006344/0.5758, allocations: 155.7 kB / 1.401 GB, free: 5.371 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.0002809/0.5761, allocations: 160.5 kB / 1.401 GB, free: 5.211 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.5776, allocations: 0.7418 MB / 1.401 GB, free: 4.441 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5776, allocations: 0 / 1.401 GB, free: 4.441 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.5783, allocations: 351.4 kB / 1.402 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.5788, allocations: 76.09 kB / 1.402 GB, free: 4.027 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.5808, allocations: 1.073 MB / 1.403 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.5813, allocations: 0.8685 MB / 1.404 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.5815, allocations: 55.44 kB / 1.404 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5817, allocations: 43.42 kB / 1.404 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of SimCode: time 8.82e-07/0.5817, allocations: 0 / 1.404 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of Templates: time 0.511/1.093, allocations: 6.6 MB / 1.41 GB, free: 168.2 MB / 0.9011 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