Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001517/0.001517, allocations: 172.5 kB / 487 MB, free: 5.375 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.548/1.548, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.001118/0.001118, allocations: 107.3 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.633/1.902, allocations: 0.6117 GB / 1.817 GB, free: 386.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.902, allocations: 87.95 kB / 1.817 GB, free: 386.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.313/2.215, allocations: 169.5 MB / 1.983 GB, free: 215.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.167e-05/2.215, allocations: 23.98 kB / 1.983 GB, free: 215.9 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.001129/2.216, allocations: 0.9435 MB / 1.983 GB, free: 214.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/2.216, allocations: 9.031 kB / 1.983 GB, free: 214.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/2.219, allocations: 302.6 kB / 1.984 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/2.22, allocations: 0.71 MB / 1.984 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/2.22, allocations: 12 kB / 1.984 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/2.22, allocations: 31.91 kB / 1.984 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004651/2.22, allocations: 289.9 kB / 1.985 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/2.221, allocations: 443 kB / 1.985 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/2.221, allocations: 4 kB / 1.985 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/2.221, allocations: 4 kB / 1.985 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/2.221, allocations: 12 kB / 1.985 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/2.223, allocations: 2.732 MB / 1.988 GB, free: 210.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/2.223, allocations: 206.7 kB / 1.988 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/2.224, allocations: 134.1 kB / 1.988 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/2.224, allocations: 0.6612 MB / 1.989 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/2.224, allocations: 38.83 kB / 1.989 GB, free: 208.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/2.224, allocations: 0 / 1.989 GB, free: 208.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004644/2.229, allocations: 1.669 MB / 1.991 GB, free: 207.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/2.229, allocations: 89.12 kB / 1.991 GB, free: 207.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/2.229, allocations: 406.3 kB / 1.991 GB, free: 206.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/2.229, allocations: 25.7 kB / 1.991 GB, free: 206.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/2.229, allocations: 252.3 kB / 1.991 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/2.229, allocations: 138 kB / 1.991 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/2.229, allocations: 0 / 1.991 GB, free: 206.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/2.229, allocations: 366.8 kB / 1.992 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/2.23, allocations: 141 kB / 1.992 GB, free: 205.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/2.23, allocations: 270.5 kB / 1.992 GB, free: 205.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/2.23, allocations: 196.4 kB / 1.992 GB, free: 205.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/2.23, allocations: 11.84 kB / 1.992 GB, free: 205.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001437/2.232, allocations: 0.6619 MB / 1.993 GB, free: 204.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.232, allocations: 1.221 MB / 1.994 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/2.232, allocations: 4 kB / 1.994 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/2.233, allocations: 265.5 kB / 1.994 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/2.233, allocations: 63.91 kB / 1.994 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/2.237, allocations: 3.854 MB / 1.998 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/2.239, allocations: 71.88 kB / 1.998 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/2.239, allocations: 20 kB / 1.998 GB, free: 198.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/2.239, allocations: 7.906 kB / 1.998 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/2.24, allocations: 0.583 MB / 1.999 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/2.24, allocations: 7.938 kB / 1.999 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/2.241, allocations: 257.7 kB / 1.999 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/2.241, allocations: 71.91 kB / 1.999 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/2.246, allocations: 3.85 MB / 2.003 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/2.247, allocations: 83.81 kB / 2.003 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/2.247, allocations: 20 kB / 2.003 GB, free: 193.6 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.0002034/2.247, allocations: 117 kB / 2.003 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/2.248, allocations: 67.23 kB / 2.003 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/2.249, allocations: 0.6136 MB / 2.004 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/2.249, allocations: 4 kB / 2.004 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/2.249, allocations: 0 / 2.004 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/2.251, allocations: 0.7024 MB / 2.005 GB, free: 192 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/2.253, allocations: 1.574 MB / 2.006 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.253, allocations: 4 kB / 2.006 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/2.254, allocations: 55.91 kB / 2.006 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/2.254, allocations: 241.8 kB / 2.006 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/2.254, allocations: 8 kB / 2.006 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/2.258, allocations: 3.632 MB / 2.01 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.258, allocations: 0 / 2.01 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001666/2.26, allocations: 0.8898 MB / 2.011 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/2.26, allocations: 192.3 kB / 2.011 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/2.261, allocations: 3.984 kB / 2.011 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/2.262, allocations: 63.98 kB / 2.011 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/2.262, allocations: 31.81 kB / 2.011 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/2.262, allocations: 15.98 kB / 2.011 GB, free: 185 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003247/2.262, allocations: 314.9 kB / 2.011 GB, free: 184.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001763/2.264, allocations: 435.9 kB / 2.012 GB, free: 184.3 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.0005838/2.264, allocations: 329.5 kB / 2.012 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002351/2.267, allocations: 1.164 MB / 2.013 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.267, allocations: 0 / 2.013 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/2.268, allocations: 479.5 kB / 2.014 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/2.269, allocations: 319.3 kB / 2.014 GB, free: 181.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/2.271, allocations: 0.9296 MB / 2.015 GB, free: 181 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/2.272, allocations: 0.977 MB / 2.016 GB, free: 180 MB / 1.151 GB Notification: Performance of SimCode: time 4.41e-07/2.272, allocations: 0 / 2.016 GB, free: 180 MB / 1.151 GB Notification: Performance of Templates: time 0.02488/2.296, allocations: 18.45 MB / 2.034 GB, free: 161.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches