Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 192 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 89.86 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.524e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.182, allocations: 0.5064 GB / 1.391 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.182, allocations: 89.39 kB / 1.391 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.617/2.799, allocations: 0.5686 GB / 1.96 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.968e-05/2.799, allocations: 25.41 kB / 1.96 GB, free: 204.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003389/2.802, allocations: 1.528 MB / 1.961 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/2.802, allocations: 13.62 kB / 1.961 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/2.803, allocations: 140.6 kB / 1.961 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05551/2.859, allocations: 30.38 MB / 1.991 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/2.859, allocations: 13.5 kB / 1.991 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/2.859, allocations: 30.81 kB / 1.991 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005287/2.86, allocations: 298.6 kB / 1.991 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/2.86, allocations: 447.7 kB / 1.992 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/2.86, allocations: 2.438 kB / 1.992 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/2.86, allocations: 3.312 kB / 1.992 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/2.86, allocations: 9.375 kB / 1.992 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/2.863, allocations: 2.226 MB / 1.994 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/2.863, allocations: 197.8 kB / 1.994 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/2.863, allocations: 128.7 kB / 1.994 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009667/2.864, allocations: 2.007 MB / 1.996 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/2.864, allocations: 37.84 kB / 1.996 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 2.295e-06/2.864, allocations: 0 / 1.996 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.005673/2.87, allocations: 1.749 MB / 1.998 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/2.87, allocations: 58.25 kB / 1.998 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/2.87, allocations: 410.8 kB / 1.998 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/2.87, allocations: 26.83 kB / 1.998 GB, free: 198 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/2.87, allocations: 250.2 kB / 1.999 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/2.871, allocations: 144.4 kB / 1.999 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/2.871, allocations: 3.719 kB / 1.999 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/2.871, allocations: 361.1 kB / 1.999 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/2.871, allocations: 142.6 kB / 1.999 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/2.871, allocations: 258.9 kB / 1.999 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/2.872, allocations: 253.8 kB / 2 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/2.872, allocations: 0 / 2 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001843/2.874, allocations: 0.6543 MB / 2 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/2.874, allocations: 1.133 MB / 2.001 GB, free: 196 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/2.874, allocations: 4.438 kB / 2.001 GB, free: 196 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/2.875, allocations: 175.6 kB / 2.002 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/2.875, allocations: 75.77 kB / 2.002 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/2.876, allocations: 1.416 MB / 2.003 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/2.877, allocations: 30.47 kB / 2.003 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/2.877, allocations: 44.45 kB / 2.003 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/2.877, allocations: 6.719 kB / 2.003 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/2.878, allocations: 0.5498 MB / 2.004 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/2.878, allocations: 2.281 kB / 2.004 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/2.879, allocations: 182.5 kB / 2.004 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/2.879, allocations: 75.02 kB / 2.004 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/2.88, allocations: 1.422 MB / 2.005 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/2.881, allocations: 24.84 kB / 2.005 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/2.881, allocations: 40.03 kB / 2.005 GB, free: 193.3 MB / 0.8542 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0001864/2.881, allocations: 125.1 kB / 2.005 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/2.881, allocations: 79.5 kB / 2.006 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/2.884, allocations: 0.9499 MB / 2.006 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/2.884, allocations: 11.52 kB / 2.007 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/2.884, allocations: 1.219 kB / 2.007 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/2.886, allocations: 0.8221 MB / 2.007 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/2.889, allocations: 1.561 MB / 2.009 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.889, allocations: 1.531 kB / 2.009 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/2.889, allocations: 49.62 kB / 2.009 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004995/2.89, allocations: 177.9 kB / 2.009 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/2.89, allocations: 12.88 kB / 2.009 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/2.891, allocations: 1.401 MB / 2.01 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.891, allocations: 10.38 kB / 2.01 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00238/2.893, allocations: 1.127 MB / 2.012 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/2.893, allocations: 216.2 kB / 2.012 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/2.894, allocations: 6.406 kB / 2.012 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/2.894, allocations: 21.17 kB / 2.012 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/2.894, allocations: 28.97 kB / 2.012 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/2.894, allocations: 32.38 kB / 2.012 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003987/2.894, allocations: 324.7 kB / 2.012 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002585/2.897, allocations: 0.7016 MB / 2.013 GB, free: 189.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/2.899, allocations: 0.8271 MB / 2.014 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001529/2.9, allocations: 0.7455 MB / 2.014 GB, free: 189 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.901, allocations: 1 kB / 2.014 GB, free: 189 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/2.901, allocations: 298 kB / 2.015 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/2.903, allocations: 291.5 kB / 2.015 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/2.905, allocations: 1.011 MB / 2.016 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008083/2.905, allocations: 1.052 MB / 2.017 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/2.905, allocations: 2.312 kB / 2.017 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03757/2.943, allocations: 22.54 MB / 2.039 GB, free: 179.2 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches