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.Dampers.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009133/0.0009133, allocations: 173.3 kB / 490.8 MB, free: 1.93 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.081/1.081, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.000795/0.000795, allocations: 96.39 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.63, allocations: 154 MB / 1.362 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.6302, allocations: 76.72 kB / 1.362 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04708/0.6772, allocations: 21.19 MB / 1.383 GB, free: 13.11 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.378e-05/0.6773, allocations: 38.38 kB / 1.383 GB, free: 13.11 MB / 0.823 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.002669/0.68, allocations: 1.573 MB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6801, allocations: 9.906 kB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.6804, allocations: 179.7 kB / 1.385 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.682, allocations: 0.943 MB / 1.385 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.6821, allocations: 52.52 kB / 1.386 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.6823, allocations: 92.03 kB / 1.386 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/0.6838, allocations: 0.85 MB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.6855, allocations: 1.063 MB / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.6855, allocations: 0 / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.6856, allocations: 1.344 kB / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.6857, allocations: 39.03 kB / 1.388 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.6907, allocations: 3.485 MB / 1.391 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.6923, allocations: 0.8528 MB / 1.392 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.6928, allocations: 343 kB / 1.392 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.6928, allocations: 14.91 kB / 1.392 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006319/0.6935, allocations: 459 kB / 1.393 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.6935, allocations: 0 / 1.393 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.001145/0.6946, allocations: 0.6414 MB / 1.393 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.6947, allocations: 217.9 kB / 1.393 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.6955, allocations: 0.5624 MB / 1.394 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6956, allocations: 45.22 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.6959, allocations: 496 kB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.6961, allocations: 279.5 kB / 1.395 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.6962, allocations: 6.266 kB / 1.395 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6963, allocations: 341.2 kB / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.6968, allocations: 307.7 kB / 1.395 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.6974, allocations: 498 kB / 1.396 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/0.6981, allocations: 327.1 kB / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6981, allocations: 0 / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001481/0.6996, allocations: 0.8698 MB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.6997, allocations: 459.9 kB / 1.397 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6997, allocations: 1.406 kB / 1.397 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6998, allocations: 5.562 kB / 1.397 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.7004, allocations: 189.8 kB / 1.398 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7005, allocations: 4.969 kB / 1.398 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/0.7014, allocations: 198.6 kB / 1.398 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.7015, allocations: 41.58 kB / 1.398 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.7015, allocations: 6.75 kB / 1.398 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/0.7028, allocations: 0.7297 MB / 1.399 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7028, allocations: 1.531 kB / 1.399 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.7028, allocations: 5.875 kB / 1.399 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.7035, allocations: 165.5 kB / 1.399 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7035, allocations: 9.938 kB / 1.399 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.7043, allocations: 187.8 kB / 1.399 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.7044, allocations: 36.7 kB / 1.399 GB, free: 22.52 MB / 0.8386 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.0001968/0.7046, allocations: 140.2 kB / 1.399 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7047, allocations: 93.38 kB / 1.399 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.7059, allocations: 0.7196 MB / 1.4 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.7059, allocations: 18.14 kB / 1.4 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7059, allocations: 0 / 1.4 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7059, allocations: 12.72 kB / 1.4 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.7083, allocations: 1.876 MB / 1.402 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.7083, allocations: 0.9688 kB / 1.402 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.7089, allocations: 164.6 kB / 1.402 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.709, allocations: 8.266 kB / 1.402 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.709, allocations: 16.17 kB / 1.402 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.709, allocations: 4.375 kB / 1.402 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.709, allocations: 5.531 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001602/0.7107, allocations: 1.25 MB / 1.403 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.7108, allocations: 172.6 kB / 1.403 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7109, allocations: 12.81 kB / 1.403 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.7115, allocations: 83.84 kB / 1.403 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.7117, allocations: 115.1 kB / 1.404 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.7118, allocations: 30.86 kB / 1.404 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004413/0.7122, allocations: 404 kB / 1.404 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001035/0.7133, allocations: 461.3 kB / 1.404 GB, free: 20.56 MB / 0.8386 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.0002156/0.7135, allocations: 153.9 kB / 1.405 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.7155, allocations: 1.35 MB / 1.406 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7155, allocations: 0 / 1.406 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.7159, allocations: 384.6 kB / 1.406 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.7166, allocations: 142 kB / 1.406 GB, free: 19.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.7191, allocations: 1.497 MB / 1.408 GB, free: 18.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.7199, allocations: 1.242 MB / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.7199, allocations: 0 / 1.409 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.02373/0.7436, allocations: 16.17 MB / 1.425 GB, free: 1.094 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches