Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCon_in.y|TEva_in.y|TSen1.T|TSen2.T|TSet.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") [: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.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009862/0.0009862, allocations: 185.2 kB / 487 MB, free: 5.355 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.138/1.138, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0009157/0.0009159, allocations: 98.16 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7757/0.9687, allocations: 447.5 MB / 1.642 GB, free: 8.426 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.969, allocations: 108.2 kB / 1.642 GB, free: 8.363 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.327/5.296, allocations: 1.515 GB / 3.157 GB, free: 135 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005393/5.297, allocations: 85.12 kB / 3.157 GB, free: 135 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.008417/5.305, allocations: 3.252 MB / 3.16 GB, free: 133.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/5.305, allocations: 11.38 kB / 3.16 GB, free: 133.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/5.309, allocations: 0.8463 MB / 3.161 GB, free: 133.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008443/5.318, allocations: 3.376 MB / 3.164 GB, free: 133 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/5.319, allocations: 375.3 kB / 3.165 GB, free: 133 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007552/5.32, allocations: 122.3 kB / 3.165 GB, free: 133 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004179/5.324, allocations: 1.831 MB / 3.167 GB, free: 133 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004552/5.328, allocations: 2.015 MB / 3.169 GB, free: 132.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/5.329, allocations: 6.531 kB / 3.169 GB, free: 132.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/5.329, allocations: 0 / 3.169 GB, free: 132.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/5.329, allocations: 76.77 kB / 3.169 GB, free: 132.7 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/5.346, allocations: 12.69 MB / 3.181 GB, free: 126.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/5.348, allocations: 1.003 MB / 3.182 GB, free: 126.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009462/5.349, allocations: 0.7181 MB / 3.183 GB, free: 126.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/5.35, allocations: 1.657 MB / 3.184 GB, free: 124.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/5.351, allocations: 0.8585 MB / 3.185 GB, free: 124.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=131): time 4.138e-06/5.351, allocations: 0 / 3.185 GB, free: 124.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=131): time 0.004408/5.355, allocations: 1.748 MB / 3.187 GB, free: 124.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/5.356, allocations: 222 kB / 3.187 GB, free: 124.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/5.359, allocations: 1.923 MB / 3.189 GB, free: 123.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/5.36, allocations: 29.33 kB / 3.189 GB, free: 123.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007807/5.36, allocations: 0.827 MB / 3.19 GB, free: 123.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/5.361, allocations: 437.1 kB / 3.19 GB, free: 123.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/5.361, allocations: 0 / 3.19 GB, free: 123.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/5.361, allocations: 363.3 kB / 3.191 GB, free: 122.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009055/5.362, allocations: 0.6034 MB / 3.191 GB, free: 122.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/5.363, allocations: 1.009 MB / 3.192 GB, free: 122.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/5.365, allocations: 0.877 MB / 3.193 GB, free: 122.3 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/5.365, allocations: 0 / 3.193 GB, free: 122.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004543/5.37, allocations: 2.107 MB / 3.195 GB, free: 122.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004927/5.37, allocations: 3.054 MB / 3.198 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/5.37, allocations: 10.53 kB / 3.198 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/5.371, allocations: 101.9 kB / 3.198 GB, free: 118.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/5.373, allocations: 456.9 kB / 3.199 GB, free: 118.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006791/5.373, allocations: 1.233 MB / 3.2 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/5.376, allocations: 363.9 kB / 3.2 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/5.376, allocations: 83.47 kB / 3.2 GB, free: 117.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/5.376, allocations: 7.812 kB / 3.2 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003772/5.38, allocations: 1.754 MB / 3.202 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/5.38, allocations: 7.812 kB / 3.202 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/5.381, allocations: 110.8 kB / 3.202 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/5.382, allocations: 458.4 kB / 3.203 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/5.385, allocations: 3.021 MB / 3.205 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/5.388, allocations: 329.6 kB / 3.206 GB, free: 115.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/5.388, allocations: 77.38 kB / 3.206 GB, free: 115.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005275/5.388, allocations: 181.8 kB / 3.206 GB, free: 115 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007746/5.389, allocations: 276.4 kB / 3.206 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/5.394, allocations: 2.299 MB / 3.209 GB, free: 114.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/5.394, allocations: 20.72 kB / 3.209 GB, free: 114.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/5.394, allocations: 0 / 3.209 GB, free: 114.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/5.397, allocations: 1.786 MB / 3.21 GB, free: 114.4 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008944/5.406, allocations: 5.04 MB / 3.215 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/5.406, allocations: 7.234 kB / 3.215 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/5.408, allocations: 340.1 kB / 3.216 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/5.408, allocations: 86.84 kB / 3.216 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/5.408, allocations: 29.7 kB / 3.216 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/5.409, allocations: 1.198 MB / 3.217 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/5.409, allocations: 4.906 kB / 3.217 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005021/5.414, allocations: 3.382 MB / 3.22 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/5.415, allocations: 0.6761 MB / 3.221 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007188/5.416, allocations: 9.969 kB / 3.221 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/5.419, allocations: 253.4 kB / 3.221 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/5.419, allocations: 97.81 kB / 3.221 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/5.419, allocations: 75.77 kB / 3.221 GB, free: 111.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.002528/5.422, allocations: 1.434 MB / 3.223 GB, free: 111.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005362/5.427, allocations: 1.526 MB / 3.224 GB, free: 111.1 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/5.429, allocations: 1.54 MB / 3.226 GB, free: 110.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004146/5.434, allocations: 2.841 MB / 3.228 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/5.434, allocations: 5.75 kB / 3.228 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/5.435, allocations: 0.8872 MB / 3.229 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/5.44, allocations: 1.106 MB / 3.23 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/5.449, allocations: 4.137 MB / 3.234 GB, free: 109.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/5.452, allocations: 2.102 MB / 3.236 GB, free: 108.4 MB / 1.198 GB Notification: Performance of SimCode: time 8.92e-07/5.452, allocations: 0 / 3.236 GB, free: 108.4 MB / 1.198 GB Notification: Performance of Templates: time 0.09023/5.542, allocations: 65.18 MB / 3.3 GB, free: 105.1 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches