Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") [: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 2.034/2.034, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001137/0.001137, allocations: 184 kB / 490.8 MB, free: 1.875 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.536/1.536, 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.001261/0.001261, allocations: 98.2 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.434e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.128, allocations: 0.6125 GB / 1.824 GB, free: 391 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/2.128, allocations: 87.95 kB / 1.824 GB, free: 390.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.3148/2.443, allocations: 169.5 MB / 1.99 GB, free: 220.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.271e-05/2.443, allocations: 20 kB / 1.99 GB, free: 220.2 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001462/2.445, allocations: 0.9505 MB / 1.991 GB, free: 219.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/2.445, allocations: 8.031 kB / 1.991 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/2.447, allocations: 298.7 kB / 1.991 GB, free: 218.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/2.448, allocations: 0.7101 MB / 1.992 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/2.448, allocations: 12 kB / 1.992 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/2.448, allocations: 28 kB / 1.992 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005034/2.449, allocations: 293.8 kB / 1.992 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/2.449, allocations: 443 kB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/2.45, allocations: 7.922 kB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/2.45, allocations: 4 kB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/2.45, allocations: 8 kB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/2.452, allocations: 2.735 MB / 1.995 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/2.452, allocations: 198.5 kB / 1.995 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/2.452, allocations: 126.2 kB / 1.995 GB, free: 214.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/2.453, allocations: 0.6728 MB / 1.996 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/2.453, allocations: 38.83 kB / 1.996 GB, free: 213.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 3.186e-06/2.453, allocations: 0 / 1.996 GB, free: 213.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004773/2.458, allocations: 1.661 MB / 1.998 GB, free: 211.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/2.458, allocations: 89.14 kB / 1.998 GB, free: 211.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/2.458, allocations: 410.2 kB / 1.998 GB, free: 211 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/2.458, allocations: 29.7 kB / 1.998 GB, free: 211 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/2.458, allocations: 248.3 kB / 1.998 GB, free: 210.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/2.458, allocations: 138 kB / 1.999 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/2.458, allocations: 0 / 1.999 GB, free: 210.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/2.459, allocations: 362.8 kB / 1.999 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/2.459, allocations: 141 kB / 1.999 GB, free: 210.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/2.459, allocations: 274.5 kB / 1.999 GB, free: 209.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/2.459, allocations: 192.5 kB / 1.999 GB, free: 209.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/2.459, allocations: 8 kB / 1.999 GB, free: 209.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001463/2.461, allocations: 0.6694 MB / 2 GB, free: 208.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/2.461, allocations: 1.225 MB / 2.001 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.461, allocations: 4 kB / 2.001 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008634/2.462, allocations: 257.6 kB / 2.002 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/2.462, allocations: 71.84 kB / 2.002 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/2.467, allocations: 3.847 MB / 2.005 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/2.468, allocations: 75.81 kB / 2.005 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/2.468, allocations: 20.19 kB / 2.005 GB, free: 203.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/2.468, allocations: 4 kB / 2.005 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/2.469, allocations: 0.5908 MB / 2.006 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/2.469, allocations: 4 kB / 2.006 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/2.47, allocations: 257.8 kB / 2.006 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/2.47, allocations: 71.91 kB / 2.006 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/2.474, allocations: 3.851 MB / 2.01 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/2.476, allocations: 83.81 kB / 2.01 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/2.476, allocations: 16 kB / 2.01 GB, free: 197.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002129/2.476, allocations: 121.4 kB / 2.01 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/2.476, allocations: 59.25 kB / 2.01 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/2.478, allocations: 0.6175 MB / 2.011 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/2.478, allocations: 4 kB / 2.011 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/2.478, allocations: 8.125 kB / 2.011 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/2.479, allocations: 0.6901 MB / 2.012 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/2.482, allocations: 1.578 MB / 2.013 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/2.482, allocations: 0 / 2.013 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/2.482, allocations: 55.91 kB / 2.013 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/2.483, allocations: 233.5 kB / 2.014 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/2.483, allocations: 4 kB / 2.014 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/2.487, allocations: 3.641 MB / 2.017 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.487, allocations: 0 / 2.017 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001662/2.488, allocations: 0.8895 MB / 2.018 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/2.489, allocations: 188.3 kB / 2.018 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/2.489, allocations: 11.98 kB / 2.018 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/2.49, allocations: 63.97 kB / 2.018 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/2.49, allocations: 23.97 kB / 2.018 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/2.49, allocations: 19.89 kB / 2.018 GB, free: 189.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003621/2.49, allocations: 310.9 kB / 2.019 GB, free: 189 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001849/2.492, allocations: 443.9 kB / 2.019 GB, free: 188.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007213/2.493, allocations: 314.5 kB / 2.019 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002531/2.495, allocations: 1.174 MB / 2.02 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/2.495, allocations: 0 / 2.02 GB, free: 187.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/2.496, allocations: 475.7 kB / 2.021 GB, free: 186.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/2.498, allocations: 321.7 kB / 2.021 GB, free: 186.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/2.5, allocations: 0.9334 MB / 2.022 GB, free: 185.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/2.501, allocations: 0.9769 MB / 2.023 GB, free: 184.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.72e-07/2.501, allocations: 4 kB / 2.023 GB, free: 184.3 MB / 1.151 GB Notification: Performance of Templates: time 0.02608/2.527, allocations: 18.45 MB / 2.041 GB, free: 166 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches