Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,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.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,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.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001077/0.001077, allocations: 183 kB / 492.3 MB, free: 0.6094 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.615/1.615, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 90.5 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.096e-05/4.109e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.85, allocations: 412.7 MB / 1.615 GB, free: 1.836 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/1.851, allocations: 99.25 kB / 1.615 GB, free: 1.785 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.566/3.417, allocations: 248.6 MB / 1.858 GB, free: 351.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.564e-06/3.417, allocations: 0 / 1.858 GB, free: 351.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002348/3.417, allocations: 43.92 kB / 1.858 GB, free: 351.6 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004362/3.422, allocations: 1.193 MB / 1.859 GB, free: 350.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/3.422, allocations: 8.031 kB / 1.859 GB, free: 350.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/3.423, allocations: 138.5 kB / 1.86 GB, free: 350.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01816/3.441, allocations: 7.787 MB / 1.867 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/3.441, allocations: 61.98 kB / 1.867 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/3.442, allocations: 76 kB / 1.867 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/3.444, allocations: 0.9592 MB / 1.868 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/3.444, allocations: 3.938 kB / 1.868 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/3.444, allocations: 32 kB / 1.868 GB, free: 341.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/3.444, allocations: 24 kB / 1.868 GB, free: 341.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/3.445, allocations: 0.6831 MB / 1.869 GB, free: 340.4 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.005673/3.451, allocations: 4.538 MB / 1.873 GB, free: 335.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/3.451, allocations: 393.6 kB / 1.874 GB, free: 335.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/3.451, allocations: 258.7 kB / 1.874 GB, free: 334.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/3.452, allocations: 429.8 kB / 1.874 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/3.452, allocations: 38.89 kB / 1.874 GB, free: 334.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 4.188e-06/3.452, allocations: 3.938 kB / 1.875 GB, free: 334.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.001175/3.453, allocations: 0.5419 MB / 1.875 GB, free: 333.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/3.453, allocations: 59.34 kB / 1.875 GB, free: 333.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/3.454, allocations: 0.8405 MB / 1.876 GB, free: 332.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/3.454, allocations: 41.7 kB / 1.876 GB, free: 332.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/3.455, allocations: 0.5067 MB / 1.876 GB, free: 332.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/3.455, allocations: 145.9 kB / 1.877 GB, free: 332.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/3.455, allocations: 12 kB / 1.877 GB, free: 332.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/3.455, allocations: 337.9 kB / 1.877 GB, free: 331.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/3.455, allocations: 213 kB / 1.877 GB, free: 331.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/3.456, allocations: 425 kB / 1.878 GB, free: 331.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/3.456, allocations: 325.3 kB / 1.878 GB, free: 330.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/3.456, allocations: 0 / 1.878 GB, free: 330.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001139/3.457, allocations: 0.7713 MB / 1.879 GB, free: 330 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005439/3.458, allocations: 2.183 MB / 1.881 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/3.458, allocations: 4 kB / 1.881 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/3.458, allocations: 68.78 kB / 1.881 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/3.458, allocations: 115.8 kB / 1.881 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/3.459, allocations: 0.6264 MB / 1.882 GB, free: 326.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/3.46, allocations: 111.4 kB / 1.882 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/3.46, allocations: 31.97 kB / 1.882 GB, free: 326.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/3.46, allocations: 4 kB / 1.882 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009019/3.461, allocations: 0.664 MB / 1.882 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/3.461, allocations: 8.125 kB / 1.882 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/3.461, allocations: 60.91 kB / 1.882 GB, free: 325.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/3.461, allocations: 111.8 kB / 1.882 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/3.463, allocations: 1.662 MB / 1.884 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/3.464, allocations: 99.53 kB / 1.884 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/3.464, allocations: 31.98 kB / 1.884 GB, free: 323.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/3.464, allocations: 141.5 kB / 1.884 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/3.464, allocations: 90.88 kB / 1.884 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/3.465, allocations: 0.644 MB / 1.885 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/3.465, allocations: 4 kB / 1.885 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/3.465, allocations: 0 / 1.885 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006801/3.466, allocations: 0.8094 MB / 1.886 GB, free: 322.1 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 postOpt removeSimpleEquations (simulation): time 0.002701/3.469, allocations: 1.676 MB / 1.888 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/3.469, allocations: 4 kB / 1.888 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/3.469, allocations: 75.89 kB / 1.888 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/3.469, allocations: 36.84 kB / 1.888 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/3.469, allocations: 11.98 kB / 1.888 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002838/3.47, allocations: 0.5679 MB / 1.888 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/3.47, allocations: 8.031 kB / 1.888 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/3.471, allocations: 0.9865 MB / 1.889 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/3.471, allocations: 263.8 kB / 1.889 GB, free: 318.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/3.472, allocations: 12 kB / 1.889 GB, free: 318.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/3.472, allocations: 67.77 kB / 1.889 GB, free: 318.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/3.472, allocations: 32.16 kB / 1.89 GB, free: 318.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/3.472, allocations: 23.98 kB / 1.89 GB, free: 318.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008795/3.473, allocations: 0.663 MB / 1.89 GB, free: 317.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/3.473, allocations: 0 / 1.89 GB, free: 317.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002393/3.476, allocations: 0.5925 MB / 1.891 GB, free: 316.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/3.477, allocations: 408.9 kB / 1.891 GB, free: 316.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001681/3.478, allocations: 1.001 MB / 1.892 GB, free: 315.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/3.478, allocations: 4 kB / 1.892 GB, free: 315.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/3.479, allocations: 240.9 kB / 1.892 GB, free: 315.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/3.482, allocations: 0.5553 MB / 1.893 GB, free: 314.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/3.485, allocations: 1.652 MB / 1.895 GB, free: 313 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/3.485, allocations: 1.249 MB / 1.896 GB, free: 311.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001978/3.487, allocations: 0.6744 MB / 1.896 GB, free: 311 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/3.488, allocations: 63.42 kB / 1.896 GB, free: 311 MB / 1.151 GB Notification: Performance of SimCode: time 1.422e-06/3.488, allocations: 4 kB / 1.896 GB, free: 311 MB / 1.151 GB Notification: Performance of Templates: time 0.04011/3.528, allocations: 22.42 MB / 1.918 GB, free: 288.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches