Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,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.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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.001006/0.001006, allocations: 192.9 kB / 316 MB, free: 3.527 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.173/1.173, 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.001155/0.001155, allocations: 92.52 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.494e-06, allocations: 4 kB / 0.7807 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 106.3 MB / 0.8846 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.355, allocations: 0.595 GB / 1.48 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/1.355, allocations: 83.83 kB / 1.48 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.6035/1.959, allocations: 161.1 MB / 1.637 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.036e-05/1.959, allocations: 25.03 kB / 1.637 GB, free: 205.9 MB / 0.8698 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.00113/1.96, allocations: 0.9397 MB / 1.638 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.96, allocations: 7.188 kB / 1.638 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/1.962, allocations: 294.7 kB / 1.638 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.963, allocations: 0.6835 MB / 1.639 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.963, allocations: 14.69 kB / 1.639 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/1.963, allocations: 33.25 kB / 1.639 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004511/1.964, allocations: 294.3 kB / 1.639 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/1.964, allocations: 445.5 kB / 1.64 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.964, allocations: 0 / 1.64 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/1.965, allocations: 0 / 1.64 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.965, allocations: 11.38 kB / 1.64 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/1.967, allocations: 2.737 MB / 1.642 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/1.967, allocations: 205.6 kB / 1.643 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/1.967, allocations: 129.3 kB / 1.643 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/1.967, allocations: 0.6563 MB / 1.643 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.967, allocations: 39.02 kB / 1.643 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/1.967, allocations: 2.875 kB / 1.643 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.004501/1.972, allocations: 1.665 MB / 1.645 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/1.972, allocations: 80.98 kB / 1.645 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/1.972, allocations: 405.3 kB / 1.645 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.972, allocations: 25.7 kB / 1.646 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/1.972, allocations: 249.3 kB / 1.646 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/1.973, allocations: 133.4 kB / 1.646 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/1.973, allocations: 3.812 kB / 1.646 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/1.973, allocations: 369.2 kB / 1.646 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.973, allocations: 140.9 kB / 1.646 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.973, allocations: 265.1 kB / 1.647 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/1.973, allocations: 195.6 kB / 1.647 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.973, allocations: 3.75 kB / 1.647 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001436/1.975, allocations: 0.6709 MB / 1.647 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.975, allocations: 1.221 MB / 1.649 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.975, allocations: 1 kB / 1.649 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.976, allocations: 266.3 kB / 1.649 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/1.976, allocations: 64.53 kB / 1.649 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/1.981, allocations: 3.862 MB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.982, allocations: 81.16 kB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/1.982, allocations: 20.78 kB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.982, allocations: 2.812 kB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/1.983, allocations: 0.5805 MB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.984, allocations: 3.625 kB / 1.653 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/1.984, allocations: 261.9 kB / 1.654 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.985, allocations: 63.44 kB / 1.654 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/1.989, allocations: 3.853 MB / 1.657 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.99, allocations: 71.42 kB / 1.658 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.99, allocations: 22 kB / 1.658 GB, free: 194.2 MB / 0.8698 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.0001747/1.99, allocations: 128.8 kB / 1.658 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/1.99, allocations: 64.84 kB / 1.658 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.992, allocations: 0.6083 MB / 1.658 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.992, allocations: 10.47 kB / 1.658 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/1.992, allocations: 3.188 kB / 1.658 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/1.993, allocations: 0.6957 MB / 1.659 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.995, allocations: 1.567 MB / 1.661 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.995, allocations: 0 / 1.661 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/1.995, allocations: 52.75 kB / 1.661 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007896/1.996, allocations: 239.1 kB / 1.661 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/1.996, allocations: 7.344 kB / 1.661 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/2, allocations: 3.652 MB / 1.664 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/2, allocations: 0 / 1.664 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00152/2.002, allocations: 0.8777 MB / 1.665 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/2.002, allocations: 188.3 kB / 1.665 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/2.002, allocations: 9.875 kB / 1.665 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/2.003, allocations: 69.86 kB / 1.666 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/2.003, allocations: 15.03 kB / 1.666 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/2.003, allocations: 18.89 kB / 1.666 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002698/2.003, allocations: 309.8 kB / 1.666 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001481/2.005, allocations: 446.4 kB / 1.666 GB, free: 190.3 MB / 0.8698 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.0005242/2.005, allocations: 319.4 kB / 1.667 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002154/2.007, allocations: 1.175 MB / 1.668 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.007, allocations: 0 / 1.668 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009811/2.008, allocations: 478.6 kB / 1.668 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/2.01, allocations: 313 kB / 1.668 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/2.011, allocations: 0.9237 MB / 1.669 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/2.012, allocations: 0.9713 MB / 1.67 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/2.012, allocations: 0 / 1.67 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02213/2.034, allocations: 18.42 MB / 1.688 GB, free: 187.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches