Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 405.3 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.001183/0.001183, allocations: 179.5 kB / 498.1 MB, free: 5.605 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.693/1.693, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001168/0.001168, allocations: 106.1 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 10.94 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3004, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.467/4.767, allocations: 1.949 GB / 3.172 GB, free: 63.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/4.768, allocations: 97.11 kB / 3.172 GB, free: 63.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.732/6.499, allocations: 477.7 MB / 3.638 GB, free: 53.28 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/6.499, allocations: 0 / 3.638 GB, free: 53.28 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001547/6.5, allocations: 39.92 kB / 3.638 GB, free: 53.24 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006148/6.506, allocations: 1.625 MB / 3.64 GB, free: 51.57 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/6.506, allocations: 11.98 kB / 3.64 GB, free: 51.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/6.508, allocations: 290.5 kB / 3.64 GB, free: 51.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/6.511, allocations: 0.8394 MB / 3.641 GB, free: 50.38 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/6.511, allocations: 53.3 kB / 3.641 GB, free: 50.33 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/6.511, allocations: 63.98 kB / 3.641 GB, free: 50.27 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/6.513, allocations: 0.9782 MB / 3.642 GB, free: 49.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/6.513, allocations: 0 / 3.642 GB, free: 49.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/6.514, allocations: 31.98 kB / 3.642 GB, free: 49.24 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/6.514, allocations: 69.95 kB / 3.642 GB, free: 49.17 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/6.516, allocations: 0.9799 MB / 3.643 GB, free: 48.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006606/6.522, allocations: 3.594 MB / 3.647 GB, free: 44.37 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/6.523, allocations: 0.6583 MB / 3.647 GB, free: 43.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/6.523, allocations: 202.7 kB / 3.648 GB, free: 43.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/6.523, allocations: 35.12 kB / 3.648 GB, free: 43.42 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/6.524, allocations: 4 kB / 3.648 GB, free: 43.42 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.001907/6.525, allocations: 1.013 MB / 3.649 GB, free: 42.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/6.525, allocations: 111.4 kB / 3.649 GB, free: 42.27 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/6.526, allocations: 0.7112 MB / 3.649 GB, free: 41.55 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/6.526, allocations: 37.7 kB / 3.649 GB, free: 41.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/6.527, allocations: 412.2 kB / 3.65 GB, free: 41.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/6.527, allocations: 224.8 kB / 3.65 GB, free: 40.88 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/6.527, allocations: 15.94 kB / 3.65 GB, free: 40.86 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/6.527, allocations: 334 kB / 3.65 GB, free: 40.53 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/6.528, allocations: 329.8 kB / 3.651 GB, free: 40.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/6.528, allocations: 440.7 kB / 3.651 GB, free: 39.74 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/6.529, allocations: 391 kB / 3.651 GB, free: 39.36 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/6.529, allocations: 0 / 3.651 GB, free: 39.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001325/6.53, allocations: 0.8867 MB / 3.652 GB, free: 38.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/6.53, allocations: 0.7135 MB / 3.653 GB, free: 37.69 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/6.53, allocations: 4 kB / 3.653 GB, free: 37.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/6.53, allocations: 8 kB / 3.653 GB, free: 37.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/6.531, allocations: 143.8 kB / 3.653 GB, free: 37.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/6.531, allocations: 12.06 kB / 3.653 GB, free: 37.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/6.532, allocations: 115.1 kB / 3.653 GB, free: 37.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/6.532, allocations: 27.98 kB / 3.653 GB, free: 37.39 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/6.532, allocations: 4 kB / 3.653 GB, free: 37.38 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/6.533, allocations: 0.7532 MB / 3.654 GB, free: 36.63 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/6.533, allocations: 4 kB / 3.654 GB, free: 36.62 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/6.533, allocations: 4 kB / 3.654 GB, free: 36.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/6.534, allocations: 140 kB / 3.654 GB, free: 36.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/6.534, allocations: 11.94 kB / 3.654 GB, free: 36.47 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/6.535, allocations: 107.2 kB / 3.654 GB, free: 36.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/6.535, allocations: 24 kB / 3.654 GB, free: 36.34 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005431/6.535, allocations: 372.9 kB / 3.655 GB, free: 35.97 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/6.536, allocations: 90.88 kB / 3.655 GB, free: 35.88 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/6.537, allocations: 0.7969 MB / 3.656 GB, free: 35.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/6.537, allocations: 8 kB / 3.656 GB, free: 35.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/6.537, allocations: 0 / 3.656 GB, free: 35.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008486/6.538, allocations: 0.7516 MB / 3.656 GB, free: 34.29 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/6.541, allocations: 2.086 MB / 3.658 GB, free: 32.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/6.541, allocations: 4 kB / 3.658 GB, free: 32.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/6.542, allocations: 135.8 kB / 3.658 GB, free: 31.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/6.542, allocations: 4.438 kB / 3.658 GB, free: 31.96 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/6.542, allocations: 23.98 kB / 3.659 GB, free: 31.94 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/6.542, allocations: 15.92 kB / 3.659 GB, free: 31.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/6.542, allocations: 4 kB / 3.659 GB, free: 31.92 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/6.543, allocations: 1.52 MB / 3.66 GB, free: 30.25 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/6.544, allocations: 259.8 kB / 3.66 GB, free: 29.98 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/6.544, allocations: 16 kB / 3.66 GB, free: 29.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/6.545, allocations: 51.86 kB / 3.66 GB, free: 29.91 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/6.545, allocations: 44.34 kB / 3.66 GB, free: 29.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/6.545, allocations: 27.98 kB / 3.66 GB, free: 29.84 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006686/6.546, allocations: 0.5537 MB / 3.661 GB, free: 29.29 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.546, allocations: 0 / 3.661 GB, free: 29.29 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003165/6.549, allocations: 0.9206 MB / 3.662 GB, free: 28.37 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004219/6.553, allocations: 1.751 MB / 3.664 GB, free: 26.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002158/6.555, allocations: 1.147 MB / 3.665 GB, free: 25.42 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/6.555, allocations: 0 / 3.665 GB, free: 25.42 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/6.556, allocations: 362.2 kB / 3.665 GB, free: 25.07 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/6.559, allocations: 0.5071 MB / 3.666 GB, free: 24.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/6.563, allocations: 2.276 MB / 3.668 GB, free: 22.22 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/6.564, allocations: 1.093 MB / 3.669 GB, free: 21.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001615/6.566, allocations: 406.1 kB / 3.669 GB, free: 20.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/6.566, allocations: 71.44 kB / 3.669 GB, free: 20.63 MB / 1.167 GB Notification: Performance of SimCode: time 2.705e-06/6.566, allocations: 0 / 3.669 GB, free: 20.63 MB / 1.167 GB Notification: Performance of Templates: time 0.7757/7.342, allocations: 36.98 MB / 3.705 GB, free: 289.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches