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.047/2.047, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009252/0.0009252, allocations: 184.2 kB / 487.4 MB, free: 5.051 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.419/1.419, allocations: 221.5 MB / 0.7824 GB, free: 1.016 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.000881/0.0008809, allocations: 91.91 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.579e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2796, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.195, allocations: 1.948 GB / 3.154 GB, free: 402.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/5.195, allocations: 90.02 kB / 3.154 GB, free: 402.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.486/6.681, allocations: 472.1 MB / 3.615 GB, free: 283.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.042e-06/6.681, allocations: 3.75 kB / 3.615 GB, free: 283.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001142/6.681, allocations: 29.34 kB / 3.615 GB, free: 283.1 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004104/6.685, allocations: 1.485 MB / 3.617 GB, free: 282.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/6.685, allocations: 14.94 kB / 3.617 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/6.687, allocations: 286.2 kB / 3.617 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/6.689, allocations: 0.8366 MB / 3.618 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/6.689, allocations: 24.88 kB / 3.618 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/6.69, allocations: 36.25 kB / 3.618 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/6.691, allocations: 0.8614 MB / 3.619 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/6.693, allocations: 0.8676 MB / 3.62 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/6.693, allocations: 0 / 3.62 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/6.693, allocations: 3.781 kB / 3.62 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/6.693, allocations: 74.77 kB / 3.62 GB, free: 282 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.005389/6.698, allocations: 3.416 MB / 3.623 GB, free: 280.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/6.699, allocations: 0.8713 MB / 3.624 GB, free: 280.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/6.7, allocations: 338.7 kB / 3.624 GB, free: 280.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/6.7, allocations: 197.8 kB / 3.624 GB, free: 280.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/6.7, allocations: 44.45 kB / 3.624 GB, free: 280.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/6.7, allocations: 0 / 3.624 GB, free: 280.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.00148/6.702, allocations: 0.7015 MB / 3.625 GB, free: 280.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/6.702, allocations: 111.2 kB / 3.625 GB, free: 280 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/6.702, allocations: 0.5629 MB / 3.626 GB, free: 279.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/6.702, allocations: 25.7 kB / 3.626 GB, free: 279.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/6.703, allocations: 420.4 kB / 3.626 GB, free: 279.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/6.703, allocations: 205.4 kB / 3.626 GB, free: 279.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/6.703, allocations: 3.188 kB / 3.626 GB, free: 279.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/6.703, allocations: 386.5 kB / 3.627 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/6.703, allocations: 292.3 kB / 3.627 GB, free: 279.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/6.704, allocations: 422.4 kB / 3.627 GB, free: 279.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/6.705, allocations: 0.621 MB / 3.628 GB, free: 279.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/6.705, allocations: 0 / 3.628 GB, free: 279.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001794/6.707, allocations: 1.073 MB / 3.629 GB, free: 279 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/6.707, allocations: 0.8842 MB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/6.707, allocations: 3.438 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/6.707, allocations: 3.906 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/6.708, allocations: 149.8 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/6.708, allocations: 6.75 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/6.709, allocations: 90.67 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/6.709, allocations: 26.28 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/6.709, allocations: 3.969 kB / 3.63 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001781/6.711, allocations: 0.8948 MB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/6.711, allocations: 0 / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/6.711, allocations: 7.531 kB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/6.711, allocations: 150 kB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/6.711, allocations: 4.906 kB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/6.712, allocations: 77.8 kB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/6.712, allocations: 31.33 kB / 3.631 GB, free: 278.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001667/6.713, allocations: 114.5 kB / 3.631 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/6.713, allocations: 87.14 kB / 3.632 GB, free: 277.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/6.714, allocations: 0.7307 MB / 3.632 GB, free: 277.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/6.714, allocations: 7.562 kB / 3.632 GB, free: 277.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/6.714, allocations: 0 / 3.632 GB, free: 277.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009394/6.715, allocations: 0.6956 MB / 3.633 GB, free: 277.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/6.718, allocations: 1.998 MB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.718, allocations: 3.875 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/6.718, allocations: 133.7 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/6.718, allocations: 7.844 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/6.718, allocations: 3.906 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/6.718, allocations: 13.83 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.718, allocations: 7.781 kB / 3.635 GB, free: 277.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/6.72, allocations: 1.41 MB / 3.636 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/6.72, allocations: 243 kB / 3.637 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/6.72, allocations: 6.875 kB / 3.637 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/6.721, allocations: 40.77 kB / 3.637 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/6.721, allocations: 52.38 kB / 3.637 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/6.721, allocations: 19.78 kB / 3.637 GB, free: 276.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000402/6.721, allocations: 429.9 kB / 3.637 GB, free: 276.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/6.721, allocations: 3.156 kB / 3.637 GB, free: 276.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00203/6.723, allocations: 0.8691 MB / 3.638 GB, free: 276.3 MB / 1.151 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 () * 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.002343/6.726, allocations: 1.931 MB / 3.64 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001403/6.727, allocations: 1.055 MB / 3.641 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.727, allocations: 0 / 3.641 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/6.728, allocations: 319.9 kB / 3.641 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/6.73, allocations: 446.8 kB / 3.642 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/6.732, allocations: 1.432 MB / 3.643 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/6.732, allocations: 1.095 MB / 3.644 GB, free: 274.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001592/6.734, allocations: 420.3 kB / 3.645 GB, free: 274.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/6.734, allocations: 66.7 kB / 3.645 GB, free: 274.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/6.734, allocations: 0 / 3.645 GB, free: 274.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03612/6.77, allocations: 27.42 MB / 3.671 GB, free: 273.3 MB / 1.151 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