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.Dampers.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.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") [: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.775/1.775, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009118/0.0009114, allocations: 177.3 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008806/0.0008806, allocations: 95.28 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.121e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5257/0.722, allocations: 153.2 MB / 1.355 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.7222, allocations: 76.78 kB / 1.355 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0457/0.768, allocations: 21.19 MB / 1.376 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.768, allocations: 39.52 kB / 1.376 GB, free: 2.992 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.002049/0.7701, allocations: 1.575 MB / 1.377 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.7701, allocations: 12.97 kB / 1.377 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.7703, allocations: 185.8 kB / 1.377 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.7717, allocations: 0.9406 MB / 1.378 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.7718, allocations: 50.94 kB / 1.378 GB, free: 472 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.7719, allocations: 92 kB / 1.378 GB, free: 380 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/0.7733, allocations: 0.8373 MB / 1.379 GB, free: 15.87 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.7749, allocations: 1.074 MB / 1.38 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.7749, allocations: 0 / 1.38 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.775, allocations: 0 / 1.38 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.775, allocations: 36 kB / 1.38 GB, free: 15.06 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/0.7799, allocations: 3.486 MB / 1.384 GB, free: 12.49 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.7812, allocations: 0.8448 MB / 1.385 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.7817, allocations: 344 kB / 1.385 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.7817, allocations: 19.98 kB / 1.385 GB, free: 11.67 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.7823, allocations: 456.2 kB / 1.385 GB, free: 11.33 MB / 0.823 GB Notification: Performance of pre-optimization done (n=96): time 1.923e-06/0.7823, allocations: 0 / 1.385 GB, free: 11.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=96): time 0.0009902/0.7833, allocations: 0.6432 MB / 1.386 GB, free: 10.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.7834, allocations: 222.4 kB / 1.386 GB, free: 10.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.784, allocations: 0.5495 MB / 1.387 GB, free: 10.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.7841, allocations: 45.06 kB / 1.387 GB, free: 10.14 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.7844, allocations: 0.4939 MB / 1.387 GB, free: 9.707 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.7846, allocations: 282 kB / 1.388 GB, free: 9.465 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.7847, allocations: 4 kB / 1.388 GB, free: 9.461 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7848, allocations: 347.4 kB / 1.388 GB, free: 9.133 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.7853, allocations: 309.5 kB / 1.388 GB, free: 8.969 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.7859, allocations: 493.3 kB / 1.389 GB, free: 8.578 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/0.7866, allocations: 328.6 kB / 1.389 GB, free: 8.371 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7866, allocations: 0 / 1.389 GB, free: 8.371 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001442/0.7881, allocations: 0.8669 MB / 1.39 GB, free: 7.738 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.7882, allocations: 455 kB / 1.39 GB, free: 7.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7882, allocations: 7.984 kB / 1.39 GB, free: 7.262 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7883, allocations: 8 kB / 1.39 GB, free: 7.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.789, allocations: 181.2 kB / 1.39 GB, free: 7.086 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.789, allocations: 8 kB / 1.39 GB, free: 7.078 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009043/0.7899, allocations: 203.2 kB / 1.391 GB, free: 6.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.79, allocations: 34.42 kB / 1.391 GB, free: 6.852 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-06/0.79, allocations: 4 kB / 1.391 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.7913, allocations: 0.7382 MB / 1.391 GB, free: 6.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.7913, allocations: 0 / 1.391 GB, free: 6.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.7914, allocations: 8 kB / 1.391 GB, free: 6.332 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.792, allocations: 162.8 kB / 1.392 GB, free: 6.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.792, allocations: 8.094 kB / 1.392 GB, free: 6.172 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.7928, allocations: 183.2 kB / 1.392 GB, free: 5.992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/0.7929, allocations: 41.73 kB / 1.392 GB, free: 5.961 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 115 * 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.0001807/0.7931, allocations: 139.1 kB / 1.392 GB, free: 5.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7932, allocations: 94.86 kB / 1.392 GB, free: 5.727 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.7943, allocations: 0.7093 MB / 1.393 GB, free: 5.238 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7943, allocations: 15.98 kB / 1.393 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7944, allocations: 3.906 kB / 1.393 GB, free: 5.219 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.7944, allocations: 7.984 kB / 1.393 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.7967, allocations: 1.873 MB / 1.395 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7967, allocations: 4 kB / 1.395 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.7974, allocations: 163.4 kB / 1.395 GB, free: 3.734 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.7974, allocations: 15.84 kB / 1.395 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.7975, allocations: 11.48 kB / 1.395 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.7975, allocations: 4 kB / 1.395 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7975, allocations: 11.94 kB / 1.395 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001509/0.799, allocations: 1.243 MB / 1.396 GB, free: 2.793 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.7991, allocations: 177.5 kB / 1.396 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.7993, allocations: 9.875 kB / 1.396 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/0.7999, allocations: 87.95 kB / 1.396 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8001, allocations: 119.7 kB / 1.396 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.8001, allocations: 35.05 kB / 1.396 GB, free: 2.395 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003935/0.8005, allocations: 410.7 kB / 1.397 GB, free: 2.105 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008686/0.8014, allocations: 457.6 kB / 1.397 GB, free: 1.656 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dam1.conCooDam.I.y) * Number of discrete variables: 23 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002189/0.8016, allocations: 150.2 kB / 1.397 GB, free: 1.508 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.8034, allocations: 1.35 MB / 1.399 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8034, allocations: 0.5 kB / 1.399 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.8039, allocations: 383 kB / 1.399 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.8046, allocations: 147.5 kB / 1.399 GB, free: 212 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.8072, allocations: 1.486 MB / 1.401 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/0.8081, allocations: 1.238 MB / 1.402 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.8081, allocations: 4 kB / 1.402 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.02444/0.8326, allocations: 16.17 MB / 1.418 GB, free: 13.65 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches