Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.3 MB / 261.9 MB, free: 5.918 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.001166/0.001167, allocations: 161 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 0.572 GB, free: 10.57 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.0009395/0.0009395, allocations: 98.52 kB / 0.6764 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.784e-05/4.784e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.79/2.066, allocations: 393 MB / 1.276 GB, free: 325 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004206/2.066, allocations: 96.25 kB / 1.276 GB, free: 325 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4723/2.539, allocations: 235.9 MB / 1.506 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.667e-06/2.539, allocations: 0 / 1.506 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.856e-05/2.539, allocations: 31.92 kB / 1.506 GB, free: 108.3 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002113/2.541, allocations: 1.189 MB / 1.507 GB, free: 107 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/2.541, allocations: 12.03 kB / 1.507 GB, free: 107 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004519/2.542, allocations: 138.5 kB / 1.507 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/2.557, allocations: 7.429 MB / 1.515 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/2.557, allocations: 58 kB / 1.515 GB, free: 99.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/2.557, allocations: 76 kB / 1.515 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/2.559, allocations: 0.9513 MB / 1.516 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/2.559, allocations: 7.938 kB / 1.516 GB, free: 98.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/2.559, allocations: 35.98 kB / 1.516 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/2.559, allocations: 27.95 kB / 1.516 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/2.56, allocations: 0.6753 MB / 1.516 GB, free: 97.46 MB / 0.8698 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.004938/2.565, allocations: 4.519 MB / 1.521 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/2.566, allocations: 384.8 kB / 1.521 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/2.566, allocations: 266 kB / 1.521 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/2.566, allocations: 425.8 kB / 1.522 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/2.566, allocations: 42.89 kB / 1.522 GB, free: 91.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 3.617e-06/2.566, allocations: 0 / 1.522 GB, free: 91.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.00103/2.567, allocations: 0.5425 MB / 1.522 GB, free: 90.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/2.567, allocations: 63.3 kB / 1.522 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/2.568, allocations: 0.8209 MB / 1.523 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/2.568, allocations: 37.7 kB / 1.523 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/2.569, allocations: 0.495 MB / 1.524 GB, free: 89.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/2.569, allocations: 153.9 kB / 1.524 GB, free: 89.24 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/2.569, allocations: 8 kB / 1.524 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/2.569, allocations: 334 kB / 1.524 GB, free: 88.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/2.569, allocations: 213 kB / 1.524 GB, free: 88.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/2.57, allocations: 432.5 kB / 1.525 GB, free: 88.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/2.57, allocations: 313.4 kB / 1.525 GB, free: 87.87 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/2.57, allocations: 0 / 1.525 GB, free: 87.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009774/2.571, allocations: 0.7751 MB / 1.526 GB, free: 87.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006698/2.572, allocations: 2.182 MB / 1.528 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/2.572, allocations: 4 kB / 1.528 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/2.572, allocations: 68.81 kB / 1.528 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/2.572, allocations: 111.8 kB / 1.528 GB, free: 84.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004397/2.573, allocations: 0.6265 MB / 1.529 GB, free: 83.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/2.574, allocations: 111.3 kB / 1.529 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/2.574, allocations: 32 kB / 1.529 GB, free: 83.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/2.574, allocations: 4 kB / 1.529 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000885/2.575, allocations: 0.6674 MB / 1.53 GB, free: 83.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.575, allocations: 8 kB / 1.53 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/2.575, allocations: 56.83 kB / 1.53 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/2.575, allocations: 115.8 kB / 1.53 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/2.577, allocations: 1.662 MB / 1.531 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/2.577, allocations: 107.4 kB / 1.532 GB, free: 81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/2.577, allocations: 36 kB / 1.532 GB, free: 80.96 MB / 0.8698 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.0001748/2.577, allocations: 144.8 kB / 1.532 GB, free: 80.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.578, allocations: 82.97 kB / 1.532 GB, free: 80.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/2.579, allocations: 0.6323 MB / 1.532 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/2.579, allocations: 4 kB / 1.532 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/2.579, allocations: 0 / 1.532 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007318/2.579, allocations: 0.8124 MB / 1.533 GB, free: 79.18 MB / 0.8698 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.002228/2.582, allocations: 1.66 MB / 1.535 GB, free: 77.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/2.582, allocations: 4 kB / 1.535 GB, free: 77.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/2.582, allocations: 79.89 kB / 1.535 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/2.582, allocations: 32.84 kB / 1.535 GB, free: 77.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/2.582, allocations: 15.98 kB / 1.535 GB, free: 77.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002837/2.582, allocations: 0.5642 MB / 1.536 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.582, allocations: 3.938 kB / 1.536 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/2.584, allocations: 0.9873 MB / 1.537 GB, free: 75.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/2.584, allocations: 255.8 kB / 1.537 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/2.584, allocations: 11.98 kB / 1.537 GB, free: 75.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/2.585, allocations: 75.73 kB / 1.537 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/2.585, allocations: 23.97 kB / 1.537 GB, free: 75.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/2.585, allocations: 23.97 kB / 1.537 GB, free: 75.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007917/2.585, allocations: 0.6435 MB / 1.538 GB, free: 74.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.585, allocations: 0 / 1.538 GB, free: 74.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002102/2.588, allocations: 0.5924 MB / 1.538 GB, free: 74.03 MB / 0.8698 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.0009765/2.589, allocations: 402.5 kB / 1.538 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001432/2.59, allocations: 1.01 MB / 1.539 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/2.59, allocations: 0 / 1.539 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/2.59, allocations: 244.3 kB / 1.54 GB, free: 72.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/2.593, allocations: 0.5564 MB / 1.54 GB, free: 71.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/2.595, allocations: 1.622 MB / 1.542 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/2.596, allocations: 1.241 MB / 1.543 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001521/2.597, allocations: 0.643 MB / 1.544 GB, free: 68.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/2.598, allocations: 67.42 kB / 1.544 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/2.598, allocations: 0 / 1.544 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.04603/2.644, allocations: 22.11 MB / 1.565 GB, free: 46.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches