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.477/2.477, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001193/0.001193, allocations: 176.9 kB / 492.3 MB, free: 0.582 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.632/1.632, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001132/0.001133, allocations: 102.5 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.089e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.809/7.17, allocations: 2.166 GB / 3.378 GB, free: 111 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/7.17, allocations: 91.7 kB / 3.378 GB, free: 111 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.75/8.92, allocations: 489.1 MB / 3.856 GB, free: 79.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/8.92, allocations: 0 / 3.856 GB, free: 79.53 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000111/8.92, allocations: 39.98 kB / 3.856 GB, free: 79.49 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.003225/8.923, allocations: 1.523 MB / 3.857 GB, free: 77.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/8.923, allocations: 8.031 kB / 3.857 GB, free: 77.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/8.927, allocations: 485.8 kB / 3.858 GB, free: 77.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/8.929, allocations: 1.335 MB / 3.859 GB, free: 76.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/8.929, allocations: 77.95 kB / 3.859 GB, free: 75.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/8.929, allocations: 115.9 kB / 3.859 GB, free: 75.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/8.931, allocations: 1.222 MB / 3.861 GB, free: 74.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/8.932, allocations: 0 / 3.861 GB, free: 74.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/8.932, allocations: 48 kB / 3.861 GB, free: 74.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/8.932, allocations: 34 kB / 3.861 GB, free: 74.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/8.933, allocations: 1.167 MB / 3.862 GB, free: 73.39 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.006087/8.939, allocations: 4.897 MB / 3.867 GB, free: 68.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/8.941, allocations: 0.9754 MB / 3.868 GB, free: 67.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/8.941, allocations: 0.5529 MB / 3.868 GB, free: 66.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/8.941, allocations: 210.9 kB / 3.868 GB, free: 66.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/8.942, allocations: 47.28 kB / 3.868 GB, free: 66.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 4.058e-06/8.942, allocations: 0 / 3.868 GB, free: 66.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004646/8.946, allocations: 2.57 MB / 3.871 GB, free: 63.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/8.946, allocations: 60.19 kB / 3.871 GB, free: 63.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/8.947, allocations: 0.8593 MB / 3.872 GB, free: 62.69 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/8.947, allocations: 45.7 kB / 3.872 GB, free: 62.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/8.948, allocations: 0.5351 MB / 3.872 GB, free: 62.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/8.948, allocations: 291.8 kB / 3.873 GB, free: 61.81 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/8.948, allocations: 12 kB / 3.873 GB, free: 61.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/8.948, allocations: 341.9 kB / 3.873 GB, free: 61.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/8.949, allocations: 433.3 kB / 3.873 GB, free: 61.04 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/8.949, allocations: 0.5857 MB / 3.874 GB, free: 60.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/8.95, allocations: 0.5329 MB / 3.874 GB, free: 59.86 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/8.95, allocations: 0 / 3.874 GB, free: 59.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001626/8.951, allocations: 1.226 MB / 3.876 GB, free: 58.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/8.952, allocations: 1.054 MB / 3.877 GB, free: 57.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/8.952, allocations: 7.984 kB / 3.877 GB, free: 57.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/8.952, allocations: 64.83 kB / 3.877 GB, free: 57.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009126/8.953, allocations: 199.7 kB / 3.877 GB, free: 57.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/8.955, allocations: 2.983 MB / 3.88 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/8.956, allocations: 151.6 kB / 3.88 GB, free: 53.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/8.956, allocations: 32 kB / 3.88 GB, free: 53.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/8.956, allocations: 4 kB / 3.88 GB, free: 53.87 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/8.958, allocations: 1.104 MB / 3.881 GB, free: 52.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/8.958, allocations: 0 / 3.881 GB, free: 52.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/8.958, allocations: 72.81 kB / 3.881 GB, free: 52.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/8.959, allocations: 175.7 kB / 3.881 GB, free: 52.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/8.96, allocations: 1.815 MB / 3.883 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/8.962, allocations: 147.6 kB / 3.883 GB, free: 50.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/8.962, allocations: 36 kB / 3.883 GB, free: 50.39 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.000335/8.962, allocations: 154 kB / 3.883 GB, free: 50.24 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/8.963, allocations: 114.7 kB / 3.884 GB, free: 50.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/8.964, allocations: 1.191 MB / 3.885 GB, free: 48.92 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/8.964, allocations: 11.98 kB / 3.885 GB, free: 48.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.964, allocations: 4 kB / 3.885 GB, free: 48.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/8.966, allocations: 1.232 MB / 3.886 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/8.97, allocations: 2.795 MB / 3.889 GB, free: 44.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/8.97, allocations: 0 / 3.889 GB, free: 44.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/8.971, allocations: 231.9 kB / 3.889 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/8.971, allocations: 76.81 kB / 3.889 GB, free: 44.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/8.971, allocations: 27.98 kB / 3.889 GB, free: 44.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/8.973, allocations: 2.979 MB / 3.892 GB, free: 41.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/8.973, allocations: 7.938 kB / 3.892 GB, free: 41.22 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/8.975, allocations: 1.916 MB / 3.894 GB, free: 39.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/8.976, allocations: 323.7 kB / 3.894 GB, free: 38.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/8.976, allocations: 23.98 kB / 3.894 GB, free: 38.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.977, allocations: 115.7 kB / 3.894 GB, free: 38.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/8.977, allocations: 52.67 kB / 3.894 GB, free: 38.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/8.977, allocations: 31.98 kB / 3.894 GB, free: 38.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000912/8.978, allocations: 0.6806 MB / 3.895 GB, free: 37.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/8.978, allocations: 0 / 3.895 GB, free: 37.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002589/8.98, allocations: 0.789 MB / 3.896 GB, free: 37.17 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.002067/8.983, allocations: 1.347 MB / 3.897 GB, free: 35.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002889/8.985, allocations: 1.894 MB / 3.899 GB, free: 33.86 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/8.986, allocations: 4 kB / 3.899 GB, free: 33.86 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/8.986, allocations: 0.6551 MB / 3.9 GB, free: 33.19 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/8.99, allocations: 0.7853 MB / 3.9 GB, free: 32.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/8.995, allocations: 2.632 MB / 3.903 GB, free: 29.72 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/8.996, allocations: 1.446 MB / 3.904 GB, free: 28.25 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003022/8.999, allocations: 1.024 MB / 3.905 GB, free: 27.22 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/8.999, allocations: 75.42 kB / 3.905 GB, free: 27.14 MB / 1.151 GB Notification: Performance of SimCode: time 1.393e-06/8.999, allocations: 0 / 3.905 GB, free: 27.14 MB / 1.151 GB Notification: Performance of Templates: time 0.8224/9.822, allocations: 47.4 MB / 3.952 GB, free: 286.5 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