Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001116/0.001116, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.316/1.316, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.000855/0.000855, allocations: 91.91 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.552e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2224, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.307, allocations: 0.5202 GB / 1.726 GB, free: 7.25 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.307, allocations: 89.48 kB / 1.726 GB, free: 7.207 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/2.658, allocations: 405.1 MB / 2.122 GB, free: 90.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/2.658, allocations: 0 / 2.122 GB, free: 90.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.954e-05/2.658, allocations: 27.92 kB / 2.122 GB, free: 90.73 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002045/2.66, allocations: 1.161 MB / 2.123 GB, free: 89.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/2.66, allocations: 12.56 kB / 2.123 GB, free: 89.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/2.661, allocations: 159 kB / 2.123 GB, free: 89.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/2.663, allocations: 0.9911 MB / 2.124 GB, free: 88.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/2.663, allocations: 15.94 kB / 2.124 GB, free: 88.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/2.663, allocations: 31.94 kB / 2.124 GB, free: 88.28 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004239/2.663, allocations: 282.5 kB / 2.124 GB, free: 88 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/2.664, allocations: 446.2 kB / 2.125 GB, free: 87.53 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/2.664, allocations: 0 / 2.125 GB, free: 87.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/2.664, allocations: 0 / 2.125 GB, free: 87.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/2.664, allocations: 12 kB / 2.125 GB, free: 87.52 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/2.666, allocations: 2.141 MB / 2.127 GB, free: 85.26 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/2.666, allocations: 252.9 kB / 2.127 GB, free: 85.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/2.666, allocations: 122 kB / 2.127 GB, free: 84.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008057/2.667, allocations: 2.024 MB / 2.129 GB, free: 82.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/2.667, allocations: 38.56 kB / 2.129 GB, free: 82.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/2.667, allocations: 0 / 2.129 GB, free: 82.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.003754/2.671, allocations: 1.469 MB / 2.131 GB, free: 80.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/2.671, allocations: 55.41 kB / 2.131 GB, free: 80.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/2.671, allocations: 414.1 kB / 2.131 GB, free: 80.35 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/2.671, allocations: 25.7 kB / 2.131 GB, free: 80.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/2.671, allocations: 320.4 kB / 2.132 GB, free: 80 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/2.671, allocations: 145.8 kB / 2.132 GB, free: 79.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/2.671, allocations: 0 / 2.132 GB, free: 79.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.188e-05/2.671, allocations: 374.7 kB / 2.132 GB, free: 79.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/2.672, allocations: 133.1 kB / 2.132 GB, free: 79.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/2.672, allocations: 246.6 kB / 2.132 GB, free: 79.06 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/2.672, allocations: 237.4 kB / 2.133 GB, free: 78.83 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.672, allocations: 0 / 2.133 GB, free: 78.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001144/2.674, allocations: 0.5957 MB / 2.133 GB, free: 78.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/2.674, allocations: 1.138 MB / 2.134 GB, free: 76.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/2.674, allocations: 4 kB / 2.134 GB, free: 76.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/2.674, allocations: 177.6 kB / 2.135 GB, free: 76.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/2.674, allocations: 67.84 kB / 2.135 GB, free: 76.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/2.675, allocations: 1.386 MB / 2.136 GB, free: 75.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/2.676, allocations: 23.83 kB / 2.136 GB, free: 75.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/2.676, allocations: 27.98 kB / 2.136 GB, free: 75.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/2.676, allocations: 5.719 kB / 2.136 GB, free: 75.25 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/2.677, allocations: 0.5124 MB / 2.137 GB, free: 74.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/2.677, allocations: 7.953 kB / 2.137 GB, free: 74.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/2.677, allocations: 174 kB / 2.137 GB, free: 74.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/2.677, allocations: 63.91 kB / 2.137 GB, free: 74.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008248/2.678, allocations: 1.382 MB / 2.138 GB, free: 73.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/2.679, allocations: 27.92 kB / 2.138 GB, free: 73.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/2.679, allocations: 24.06 kB / 2.138 GB, free: 73 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: 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.0001713/2.679, allocations: 119 kB / 2.138 GB, free: 72.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/2.679, allocations: 63.25 kB / 2.138 GB, free: 72.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/2.68, allocations: 0.6415 MB / 2.139 GB, free: 72.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/2.68, allocations: 4 kB / 2.139 GB, free: 72.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/2.68, allocations: 0 / 2.139 GB, free: 72.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/2.682, allocations: 0.6667 MB / 2.14 GB, free: 71.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/2.684, allocations: 1.361 MB / 2.141 GB, free: 70.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.684, allocations: 0 / 2.141 GB, free: 70.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/2.684, allocations: 55.94 kB / 2.141 GB, free: 69.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/2.684, allocations: 165.7 kB / 2.141 GB, free: 69.79 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/2.684, allocations: 7.938 kB / 2.141 GB, free: 69.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/2.685, allocations: 1.362 MB / 2.142 GB, free: 68.37 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.685, allocations: 7.984 kB / 2.143 GB, free: 68.36 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/2.686, allocations: 0.871 MB / 2.143 GB, free: 67.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/2.687, allocations: 192.3 kB / 2.144 GB, free: 67.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/2.687, allocations: 3.984 kB / 2.144 GB, free: 67.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/2.687, allocations: 23.95 kB / 2.144 GB, free: 67.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/2.687, allocations: 23.97 kB / 2.144 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/2.687, allocations: 23.98 kB / 2.144 GB, free: 67.18 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002728/2.688, allocations: 314.9 kB / 2.144 GB, free: 66.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.31e-07/2.688, allocations: 0 / 2.144 GB, free: 66.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001428/2.689, allocations: 483.6 kB / 2.144 GB, free: 66.4 MB / 1.151 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 (30): * Single equations (assignments): 27 * Array equations: 0 * 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.0008586/2.69, allocations: 498 kB / 2.145 GB, free: 65.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.691, allocations: 0.6558 MB / 2.145 GB, free: 65.25 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.691, allocations: 0 / 2.145 GB, free: 65.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/2.691, allocations: 231.7 kB / 2.146 GB, free: 65.03 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/2.693, allocations: 297.3 kB / 2.146 GB, free: 64.75 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/2.694, allocations: 0.8902 MB / 2.147 GB, free: 63.82 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/2.694, allocations: 0.9309 MB / 2.148 GB, free: 62.86 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006659/2.695, allocations: 259.1 kB / 2.148 GB, free: 62.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/2.695, allocations: 51.42 kB / 2.148 GB, free: 62.56 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/2.695, allocations: 0 / 2.148 GB, free: 62.56 MB / 1.151 GB Notification: Performance of Templates: time 0.01983/2.715, allocations: 15.95 MB / 2.164 GB, free: 46.77 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches