Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ala.VActSet_flow|ala.VDis_flow|ala.yLowFloAla|ala.u1CooFan|ala.u1HeaFan|ala.VCooMax_flow|ala.yFloSenAla|ala.uCooDam|ala.uHeaDam|ala.yLeaDamAla",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.681/1.681, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009478/0.0009481, allocations: 191.7 kB / 490.8 MB, free: 11.25 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.036/1.036, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008346, allocations: 97.41 kB / 0.9264 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.081e-06, allocations: 0 / 1.072 GB, free: 15.57 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4631, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5904, allocations: 152.6 MB / 1.361 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.5906, allocations: 76.72 kB / 1.361 GB, free: 39.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.02778/0.6184, allocations: 12.52 MB / 1.373 GB, free: 26.65 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.6185, allocations: 16 kB / 1.373 GB, free: 26.64 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001536/0.62, allocations: 1.097 MB / 1.374 GB, free: 25.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.6201, allocations: 16.02 kB / 1.374 GB, free: 25.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.6202, allocations: 95.06 kB / 1.374 GB, free: 25.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.6212, allocations: 0.6113 MB / 1.375 GB, free: 24.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.6212, allocations: 27.98 kB / 1.375 GB, free: 24.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6213, allocations: 67.92 kB / 1.375 GB, free: 24.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005295/0.6219, allocations: 344.3 kB / 1.375 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.6225, allocations: 451.9 kB / 1.376 GB, free: 23.81 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6225, allocations: 0 / 1.376 GB, free: 23.81 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.6226, allocations: 7.984 kB / 1.376 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6226, allocations: 16 kB / 1.376 GB, free: 23.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.6248, allocations: 1.671 MB / 1.377 GB, free: 22.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.6253, allocations: 448.3 kB / 1.378 GB, free: 21.63 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.6256, allocations: 193.5 kB / 1.378 GB, free: 21.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6256, allocations: 4.375 kB / 1.378 GB, free: 21.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.626, allocations: 346.5 kB / 1.378 GB, free: 21.08 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=65): time 1.673e-06/0.626, allocations: 0 / 1.378 GB, free: 21.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65): time 0.0007103/0.6267, allocations: 0.4915 MB / 1.379 GB, free: 20.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.6268, allocations: 64.06 kB / 1.379 GB, free: 20.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.627, allocations: 372.7 kB / 1.379 GB, free: 20.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6271, allocations: 49.69 kB / 1.379 GB, free: 20.09 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6272, allocations: 228.9 kB / 1.379 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.6273, allocations: 150 kB / 1.379 GB, free: 19.71 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.6274, allocations: 4 kB / 1.379 GB, free: 19.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.6275, allocations: 374.8 kB / 1.38 GB, free: 19.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.6278, allocations: 233.5 kB / 1.38 GB, free: 19.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.6283, allocations: 442.5 kB / 1.38 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.6289, allocations: 266.8 kB / 1.381 GB, free: 18.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6289, allocations: 0 / 1.381 GB, free: 18.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001286/0.6302, allocations: 0.7425 MB / 1.381 GB, free: 17.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.6302, allocations: 4.625 kB / 1.381 GB, free: 17.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6302, allocations: 12 kB / 1.381 GB, free: 17.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6303, allocations: 8 kB / 1.381 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.6306, allocations: 111.8 kB / 1.382 GB, free: 17.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6307, allocations: 11.94 kB / 1.382 GB, free: 17.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.6316, allocations: 265.8 kB / 1.382 GB, free: 17.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.6317, allocations: 43.98 kB / 1.382 GB, free: 17.13 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel6.u,$PRE.ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel7.t_next,$whenCondition7,$PRE.ala.truDel6.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel7.t_next,ala.truDel6.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,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam1.lesHys.y,$PRE.ala.gre3.greHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.u,ala.truDel6.y,ala.truDel7.u,ala.truDel7.y,ala.cloBotDam.y,ala.booToInt7.u,$PRE.supCooFan.y,supCooFan.y,$PRE.colDammSta.y,colDammSta.y,$PRE.supHeaFan.y,supHeaFan.y,$PRE.heaDammSta.y,heaDammSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 4 * 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.000138/0.6319, allocations: 170 kB / 1.382 GB, free: 16.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.6319, allocations: 67.23 kB / 1.382 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.632, allocations: 53.39 kB / 1.382 GB, free: 16.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.632, allocations: 4 kB / 1.382 GB, free: 16.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.632, allocations: 4 kB / 1.382 GB, free: 16.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6321, allocations: 7.984 kB / 1.382 GB, free: 16.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6333, allocations: 1.224 MB / 1.383 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6333, allocations: 0 / 1.383 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.6336, allocations: 87.78 kB / 1.383 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6336, allocations: 8 kB / 1.383 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.6337, allocations: 11.98 kB / 1.383 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6337, allocations: 4 kB / 1.383 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6337, allocations: 0 / 1.383 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006186/0.6343, allocations: 0.609 MB / 1.384 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.6344, allocations: 132.3 kB / 1.384 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.6345, allocations: 23.98 kB / 1.384 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.6349, allocations: 94.66 kB / 1.384 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.6351, allocations: 96.05 kB / 1.384 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.6351, allocations: 31.98 kB / 1.384 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001676/0.6353, allocations: 259.1 kB / 1.385 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004363/0.6357, allocations: 167.7 kB / 1.385 GB, free: 14.01 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 55 (ala.truDel6.u,ala.truDel.u,ala.truDel1.u,ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$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.cloDam.lesHys.y,ala.cloDam1.lesHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.y,ala.truDel6.t_next,ala.truDel7.y,ala.truDel7.t_next,ala.cloBotDam.y,ala.booToInt7.u,supCooFan.y,colDammSta.y,supHeaFan.y,heaDammSta.y,ala.booToInt1.y) * Number of discrete states: 10 (ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre3.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001703/0.6359, allocations: 155.2 kB / 1.385 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007887/0.6367, allocations: 0.6976 MB / 1.386 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6367, allocations: 4.062 kB / 1.386 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.6371, allocations: 318.4 kB / 1.386 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.6375, allocations: 81.95 kB / 1.386 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.6388, allocations: 0.7937 MB / 1.387 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.6392, allocations: 0.9703 MB / 1.388 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.6392, allocations: 0 / 1.388 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of Templates: time 0.0115/0.6507, allocations: 9.011 MB / 1.397 GB, free: 2.121 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches