Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001009/0.001008, allocations: 184.1 kB / 487.4 MB, free: 5.035 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.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0007995/0.0007994, allocations: 99.84 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.157, allocations: 2.165 GB / 3.371 GB, free: 159.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/5.158, allocations: 100.4 kB / 3.371 GB, free: 159.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.461/6.619, allocations: 483.7 MB / 3.844 GB, free: 131 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.152e-06/6.619, allocations: 4 kB / 3.844 GB, free: 131 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.573e-05/6.619, allocations: 47.86 kB / 3.844 GB, free: 131 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002423/6.622, allocations: 1.508 MB / 3.845 GB, free: 129.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/6.622, allocations: 8.031 kB / 3.845 GB, free: 129.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/6.625, allocations: 485.8 kB / 3.846 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/6.627, allocations: 1.335 MB / 3.847 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/6.627, allocations: 32 kB / 3.847 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/6.627, allocations: 60 kB / 3.847 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/6.628, allocations: 1.132 MB / 3.848 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/6.63, allocations: 1.089 MB / 3.849 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/6.63, allocations: 3.984 kB / 3.849 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/6.63, allocations: 3.938 kB / 3.849 GB, free: 125.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/6.63, allocations: 38 kB / 3.849 GB, free: 125.2 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.00479/6.635, allocations: 4.684 MB / 3.854 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/6.636, allocations: 0.9336 MB / 3.855 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005175/6.636, allocations: 0.5445 MB / 3.855 GB, free: 118.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/6.637, allocations: 199 kB / 3.855 GB, free: 118.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/6.637, allocations: 51.27 kB / 3.855 GB, free: 118.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.996e-06/6.637, allocations: 0 / 3.855 GB, free: 118.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.003925/6.641, allocations: 2.445 MB / 3.858 GB, free: 115.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/6.641, allocations: 64.19 kB / 3.858 GB, free: 115.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/6.641, allocations: 0.775 MB / 3.859 GB, free: 115 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/6.641, allocations: 29.64 kB / 3.859 GB, free: 115 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/6.642, allocations: 0.5389 MB / 3.859 GB, free: 114.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/6.642, allocations: 275.8 kB / 3.859 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/6.642, allocations: 0 / 3.859 GB, free: 114.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/6.642, allocations: 338 kB / 3.86 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/6.642, allocations: 417.3 kB / 3.86 GB, free: 113.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/6.643, allocations: 0.5646 MB / 3.861 GB, free: 112.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/6.643, allocations: 0.5235 MB / 3.861 GB, free: 112.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/6.643, allocations: 0 / 3.861 GB, free: 112.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001311/6.645, allocations: 1.163 MB / 3.862 GB, free: 111.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/6.645, allocations: 1.046 MB / 3.863 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/6.645, allocations: 4 kB / 3.863 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/6.645, allocations: 68.81 kB / 3.864 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009096/6.646, allocations: 200.2 kB / 3.864 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/6.648, allocations: 2.935 MB / 3.867 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/6.649, allocations: 143.5 kB / 3.867 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/6.649, allocations: 32 kB / 3.867 GB, free: 106.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/6.649, allocations: 4 kB / 3.867 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/6.65, allocations: 1.022 MB / 3.868 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/6.65, allocations: 0 / 3.868 GB, free: 105.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/6.651, allocations: 68.81 kB / 3.868 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/6.651, allocations: 175.8 kB / 3.868 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/6.652, allocations: 1.756 MB / 3.87 GB, free: 103.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/6.654, allocations: 135.7 kB / 3.87 GB, free: 103.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/6.654, allocations: 31.94 kB / 3.87 GB, free: 103.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002039/6.654, allocations: 132.7 kB / 3.87 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/6.654, allocations: 106.7 kB / 3.87 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/6.656, allocations: 1.109 MB / 3.871 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/6.656, allocations: 8 kB / 3.871 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/6.656, allocations: 4 kB / 3.871 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/6.657, allocations: 1.193 MB / 3.872 GB, free: 100.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/6.66, allocations: 2.591 MB / 3.875 GB, free: 97.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/6.66, allocations: 0 / 3.875 GB, free: 97.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/6.661, allocations: 227.7 kB / 3.875 GB, free: 97.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/6.661, allocations: 77.06 kB / 3.875 GB, free: 97.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/6.661, allocations: 12.17 kB / 3.875 GB, free: 97.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/6.663, allocations: 2.924 MB / 3.878 GB, free: 94.39 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.663, allocations: 4.062 kB / 3.878 GB, free: 94.39 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/6.665, allocations: 1.856 MB / 3.88 GB, free: 92.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/6.665, allocations: 315.8 kB / 3.88 GB, free: 92.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/6.665, allocations: 19.94 kB / 3.88 GB, free: 92.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/6.666, allocations: 99.62 kB / 3.88 GB, free: 91.99 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/6.666, allocations: 52.72 kB / 3.88 GB, free: 91.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/6.666, allocations: 31.98 kB / 3.88 GB, free: 91.91 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006807/6.667, allocations: 0.605 MB / 3.881 GB, free: 91.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.667, allocations: 0 / 3.881 GB, free: 91.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002086/6.669, allocations: 0.7226 MB / 3.882 GB, free: 90.57 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/6.671, allocations: 1.515 MB / 3.883 GB, free: 89.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002451/6.674, allocations: 1.825 MB / 3.885 GB, free: 87.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/6.674, allocations: 0 / 3.885 GB, free: 87.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/6.674, allocations: 0.6253 MB / 3.885 GB, free: 86.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/6.678, allocations: 0.7458 MB / 3.886 GB, free: 85.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/6.681, allocations: 2.588 MB / 3.889 GB, free: 83.15 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/6.682, allocations: 1.45 MB / 3.89 GB, free: 81.67 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002389/6.685, allocations: 0.9648 MB / 3.891 GB, free: 80.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/6.685, allocations: 71.42 kB / 3.891 GB, free: 80.63 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/6.685, allocations: 0 / 3.891 GB, free: 80.63 MB / 1.151 GB Notification: Performance of Templates: time 0.0438/6.729, allocations: 33.03 MB / 3.923 GB, free: 47.83 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches