Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009349/0.0009349, allocations: 188.6 kB / 487 MB, free: 5.379 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.161/1.161, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.0009071/0.0009072, allocations: 103.2 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.364e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6668, allocations: 151.8 MB / 1.353 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.667, allocations: 75.89 kB / 1.354 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0311/0.6981, allocations: 12.51 MB / 1.366 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.6982, allocations: 19.91 kB / 1.366 GB, free: 11.09 MB / 0.8073 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.001525/0.6997, allocations: 1.105 MB / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.6997, allocations: 9.031 kB / 1.367 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.6999, allocations: 99.05 kB / 1.367 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.7008, allocations: 0.6068 MB / 1.368 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.7009, allocations: 35.92 kB / 1.368 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.701, allocations: 59.98 kB / 1.368 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005635/0.7015, allocations: 346.4 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.7022, allocations: 451.7 kB / 1.368 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7022, allocations: 0 / 1.368 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.7023, allocations: 11.92 kB / 1.368 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.7023, allocations: 15.91 kB / 1.368 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.7045, allocations: 1.665 MB / 1.37 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.7051, allocations: 453.6 kB / 1.37 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.7053, allocations: 187.8 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.7053, allocations: 4.375 kB / 1.371 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.7057, allocations: 347.2 kB / 1.371 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=65): time 1.653e-06/0.7058, allocations: 0 / 1.371 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of matching and sorting (n=65): time 0.0006996/0.7065, allocations: 0.4899 MB / 1.371 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.7065, allocations: 67.78 kB / 1.372 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.7068, allocations: 366.1 kB / 1.372 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.7069, allocations: 48.5 kB / 1.372 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.707, allocations: 245.6 kB / 1.372 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.7071, allocations: 142.7 kB / 1.372 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.7071, allocations: 8 kB / 1.372 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.7072, allocations: 368.4 kB / 1.373 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.7076, allocations: 239.1 kB / 1.373 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.708, allocations: 430.3 kB / 1.373 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.7086, allocations: 281.8 kB / 1.374 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7087, allocations: 0 / 1.374 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001282/0.7099, allocations: 0.7337 MB / 1.374 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.71, allocations: 8 kB / 1.374 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.71, allocations: 4 kB / 1.374 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.71, allocations: 8 kB / 1.374 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.7104, allocations: 114.2 kB / 1.374 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7104, allocations: 8 kB / 1.374 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.7113, allocations: 275.2 kB / 1.375 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.7114, allocations: 42.8 kB / 1.375 GB, free: 3.59 MB / 0.8073 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.0001385/0.7116, allocations: 177.6 kB / 1.375 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.7116, allocations: 63.33 kB / 1.375 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.7117, allocations: 57.14 kB / 1.375 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7117, allocations: 8 kB / 1.375 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7118, allocations: 0 / 1.375 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7118, allocations: 3.984 kB / 1.375 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.713, allocations: 1.233 MB / 1.376 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7131, allocations: 4 kB / 1.376 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.7133, allocations: 75.41 kB / 1.376 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7134, allocations: 4 kB / 1.376 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.7134, allocations: 11.3 kB / 1.376 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7134, allocations: 4 kB / 1.376 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7134, allocations: 4 kB / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006094/0.714, allocations: 0.6195 MB / 1.377 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.7141, allocations: 124.3 kB / 1.377 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.7142, allocations: 23.09 kB / 1.377 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.7147, allocations: 91.91 kB / 1.377 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7148, allocations: 98.8 kB / 1.377 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.7149, allocations: 31.23 kB / 1.377 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001652/0.715, allocations: 258 kB / 1.378 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000435/0.7155, allocations: 163.7 kB / 1.378 GB, free: 1.078 MB / 0.8073 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.0001664/0.7156, allocations: 169.1 kB / 1.378 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008094/0.7165, allocations: 0.6923 MB / 1.379 GB, free: 416 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7165, allocations: 0 / 1.379 GB, free: 416 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.7168, allocations: 321.1 kB / 1.379 GB, free: 208 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.7172, allocations: 79.22 kB / 1.379 GB, free: 144 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.7187, allocations: 0.7998 MB / 1.38 GB, free: 15.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/0.7193, allocations: 0.9672 MB / 1.381 GB, free: 14.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7193, allocations: 0 / 1.381 GB, free: 14.45 MB / 0.823 GB Notification: Performance of Templates: time 0.01379/0.7331, allocations: 9.009 MB / 1.389 GB, free: 5.59 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches