Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") [: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 2.124/2.124, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001199/0.001199, allocations: 177.3 kB / 487 MB, free: 5.391 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.456/1.456, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.001016/0.001016, allocations: 99 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.446e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.357, allocations: 452.5 MB / 1.647 GB, free: 3.367 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.357, allocations: 92.08 kB / 1.647 GB, free: 3.324 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.145/5.502, allocations: 1.183 GB / 2.83 GB, free: 197.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003865/5.503, allocations: 58.34 kB / 2.83 GB, free: 197.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.006231/5.509, allocations: 2.035 MB / 2.832 GB, free: 195.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/5.509, allocations: 8.031 kB / 2.832 GB, free: 195.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/5.512, allocations: 0.5782 MB / 2.833 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007696/5.52, allocations: 2.314 MB / 2.835 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/5.52, allocations: 36 kB / 2.835 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/5.521, allocations: 68 kB / 2.835 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002263/5.523, allocations: 0.801 MB / 2.836 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/5.526, allocations: 1.074 MB / 2.837 GB, free: 190.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/5.526, allocations: 3.938 kB / 2.837 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/5.526, allocations: 4 kB / 2.837 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/5.526, allocations: 45.39 kB / 2.837 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/5.537, allocations: 7 MB / 2.844 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/5.538, allocations: 446 kB / 2.844 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/5.538, allocations: 360.8 kB / 2.845 GB, free: 182.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005684/5.544, allocations: 2.958 MB / 2.848 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/5.545, allocations: 355 kB / 2.848 GB, free: 178.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=66): time 3.797e-06/5.545, allocations: 0 / 2.848 GB, free: 178.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=66): time 0.002717/5.547, allocations: 0.876 MB / 2.849 GB, free: 177.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/5.547, allocations: 115.4 kB / 2.849 GB, free: 177.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/5.55, allocations: 1.227 MB / 2.85 GB, free: 176.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/5.55, allocations: 25.7 kB / 2.85 GB, free: 176.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/5.551, allocations: 0.5676 MB / 2.851 GB, free: 175.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/5.551, allocations: 228.7 kB / 2.851 GB, free: 175.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/5.551, allocations: 3.344 kB / 2.851 GB, free: 175.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/5.551, allocations: 345.9 kB / 2.851 GB, free: 175.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/5.552, allocations: 261.9 kB / 2.851 GB, free: 174.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/5.552, allocations: 0.6739 MB / 2.852 GB, free: 174 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/5.554, allocations: 0.5346 MB / 2.853 GB, free: 173.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/5.554, allocations: 4 kB / 2.853 GB, free: 173.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002872/5.557, allocations: 1.17 MB / 2.854 GB, free: 172.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/5.558, allocations: 4.405 MB / 2.858 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/5.558, allocations: 12 kB / 2.858 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/5.558, allocations: 20 kB / 2.858 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/5.559, allocations: 265.2 kB / 2.858 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/5.559, allocations: 23.92 kB / 2.858 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/5.561, allocations: 169.4 kB / 2.859 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/5.561, allocations: 59.98 kB / 2.859 GB, free: 167 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/5.561, allocations: 4 kB / 2.859 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/5.564, allocations: 0.94 MB / 2.86 GB, free: 166.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/5.564, allocations: 14.62 kB / 2.86 GB, free: 166.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/5.564, allocations: 20 kB / 2.86 GB, free: 166.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/5.565, allocations: 259.5 kB / 2.86 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/5.565, allocations: 31.86 kB / 2.86 GB, free: 165.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/5.567, allocations: 137.3 kB / 2.86 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/5.567, allocations: 59.98 kB / 2.86 GB, free: 165.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 1 * 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.0003046/5.567, allocations: 142.4 kB / 2.86 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/5.567, allocations: 169.7 kB / 2.86 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/5.571, allocations: 1.152 MB / 2.861 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/5.571, allocations: 8 kB / 2.861 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/5.571, allocations: 3.906 kB / 2.861 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001698/5.572, allocations: 0.94 MB / 2.862 GB, free: 163.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/5.578, allocations: 2.188 MB / 2.865 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/5.578, allocations: 0 / 2.865 GB, free: 160.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008188/5.579, allocations: 155.7 kB / 2.865 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/5.579, allocations: 32.78 kB / 2.865 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/5.579, allocations: 11.98 kB / 2.865 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008842/5.58, allocations: 1.266 MB / 2.866 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/5.58, allocations: 4.031 kB / 2.866 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002711/5.583, allocations: 1.458 MB / 2.867 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/5.584, allocations: 342.7 kB / 2.868 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/5.584, allocations: 11.98 kB / 2.868 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/5.585, allocations: 82.11 kB / 2.868 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/5.586, allocations: 60.41 kB / 2.868 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/5.586, allocations: 31.98 kB / 2.868 GB, free: 157.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001876/5.588, allocations: 0.9188 MB / 2.869 GB, free: 156.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004746/5.592, allocations: 0.9432 MB / 2.87 GB, free: 155.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002871/5.595, allocations: 1.183 MB / 2.871 GB, free: 154.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002874/5.598, allocations: 1.296 MB / 2.872 GB, free: 153.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/5.598, allocations: 3.469 kB / 2.872 GB, free: 153.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009182/5.599, allocations: 468 kB / 2.873 GB, free: 152.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/5.603, allocations: 0.5806 MB / 2.873 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/5.61, allocations: 2.371 MB / 2.875 GB, free: 150 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/5.612, allocations: 1.554 MB / 2.877 GB, free: 148.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.684e-06/5.612, allocations: 2.031 kB / 2.877 GB, free: 148.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06576/5.678, allocations: 36.41 MB / 2.913 GB, free: 113.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches