Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001944/0.001944, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.768/1.768, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0008396/0.0008393, allocations: 83.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.294e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3747, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.234/6.609, allocations: 2.167 GB / 3.385 GB, free: 99.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/6.609, allocations: 99.88 kB / 3.385 GB, free: 99.54 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.82/8.429, allocations: 489.1 MB / 3.863 GB, free: 76.87 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/8.429, allocations: 0 / 3.863 GB, free: 76.87 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002261/8.43, allocations: 39.98 kB / 3.863 GB, free: 76.83 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004956/8.435, allocations: 1.512 MB / 3.865 GB, free: 75.27 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/8.435, allocations: 12.03 kB / 3.865 GB, free: 75.26 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/8.439, allocations: 489.7 kB / 3.865 GB, free: 74.78 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/8.443, allocations: 1.335 MB / 3.866 GB, free: 73.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/8.443, allocations: 77.94 kB / 3.866 GB, free: 73.32 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004687/8.444, allocations: 104 kB / 3.867 GB, free: 73.22 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/8.447, allocations: 1.233 MB / 3.868 GB, free: 71.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/8.447, allocations: 4 kB / 3.868 GB, free: 71.97 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/8.447, allocations: 43.98 kB / 3.868 GB, free: 71.93 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/8.447, allocations: 34 kB / 3.868 GB, free: 71.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/8.448, allocations: 1.171 MB / 3.869 GB, free: 70.73 MB / 1.167 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.006665/8.455, allocations: 4.886 MB / 3.874 GB, free: 65.46 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/8.456, allocations: 0.9731 MB / 3.875 GB, free: 64.47 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/8.457, allocations: 0.562 MB / 3.875 GB, free: 63.91 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/8.457, allocations: 203 kB / 3.875 GB, free: 63.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/8.457, allocations: 43.34 kB / 3.876 GB, free: 63.63 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.907e-06/8.457, allocations: 0 / 3.876 GB, free: 63.63 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.005011/8.462, allocations: 2.574 MB / 3.878 GB, free: 60.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/8.463, allocations: 60.19 kB / 3.878 GB, free: 60.92 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/8.464, allocations: 0.8554 MB / 3.879 GB, free: 60.04 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/8.464, allocations: 49.64 kB / 3.879 GB, free: 59.99 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/8.464, allocations: 0.539 MB / 3.879 GB, free: 59.44 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/8.464, allocations: 291.8 kB / 3.88 GB, free: 59.15 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/8.464, allocations: 12 kB / 3.88 GB, free: 59.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001006/8.464, allocations: 341.9 kB / 3.88 GB, free: 58.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/8.465, allocations: 433.3 kB / 3.881 GB, free: 58.38 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/8.466, allocations: 0.5818 MB / 3.881 GB, free: 57.74 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/8.466, allocations: 0.5408 MB / 3.882 GB, free: 57.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/8.466, allocations: 3.938 kB / 3.882 GB, free: 57.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001638/8.468, allocations: 1.23 MB / 3.883 GB, free: 55.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004795/8.468, allocations: 1.05 MB / 3.884 GB, free: 54.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/8.468, allocations: 0 / 3.884 GB, free: 54.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/8.469, allocations: 68.81 kB / 3.884 GB, free: 54.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/8.47, allocations: 195.7 kB / 3.884 GB, free: 54.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/8.472, allocations: 2.983 MB / 3.887 GB, free: 51.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/8.474, allocations: 151.6 kB / 3.887 GB, free: 51.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/8.474, allocations: 32.19 kB / 3.887 GB, free: 51.21 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/8.474, allocations: 4 kB / 3.887 GB, free: 51.21 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/8.475, allocations: 1.108 MB / 3.888 GB, free: 50.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/8.475, allocations: 8 kB / 3.888 GB, free: 50.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/8.475, allocations: 68.81 kB / 3.888 GB, free: 50.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/8.476, allocations: 175.7 kB / 3.889 GB, free: 49.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/8.477, allocations: 1.807 MB / 3.89 GB, free: 47.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/8.479, allocations: 155.6 kB / 3.89 GB, free: 47.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/8.479, allocations: 28 kB / 3.89 GB, free: 47.73 MB / 1.167 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.0002631/8.479, allocations: 156.8 kB / 3.891 GB, free: 47.57 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/8.479, allocations: 110.7 kB / 3.891 GB, free: 47.46 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/8.481, allocations: 1.191 MB / 3.892 GB, free: 46.25 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/8.481, allocations: 8 kB / 3.892 GB, free: 46.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/8.481, allocations: 0 / 3.892 GB, free: 46.25 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/8.482, allocations: 1.24 MB / 3.893 GB, free: 44.93 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/8.487, allocations: 2.791 MB / 3.896 GB, free: 42.06 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/8.487, allocations: 8 kB / 3.896 GB, free: 42.05 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/8.488, allocations: 235.6 kB / 3.896 GB, free: 41.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/8.488, allocations: 73.06 kB / 3.896 GB, free: 41.75 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/8.488, allocations: 27.98 kB / 3.896 GB, free: 41.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/8.49, allocations: 2.971 MB / 3.899 GB, free: 38.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.49, allocations: 4 kB / 3.899 GB, free: 38.56 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/8.492, allocations: 1.917 MB / 3.901 GB, free: 36.55 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/8.493, allocations: 323.7 kB / 3.901 GB, free: 36.22 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/8.493, allocations: 32.11 kB / 3.901 GB, free: 36.19 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/8.494, allocations: 115.7 kB / 3.901 GB, free: 36.07 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/8.494, allocations: 56.67 kB / 3.901 GB, free: 36.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/8.494, allocations: 27.98 kB / 3.901 GB, free: 35.99 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008715/8.495, allocations: 0.6845 MB / 3.902 GB, free: 35.29 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.1e-07/8.495, allocations: 0 / 3.902 GB, free: 35.29 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002484/8.497, allocations: 0.7889 MB / 3.903 GB, free: 34.5 MB / 1.167 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.002079/8.499, allocations: 1.336 MB / 3.904 GB, free: 33.12 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002767/8.502, allocations: 1.894 MB / 3.906 GB, free: 31.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/8.502, allocations: 4 kB / 3.906 GB, free: 31.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007907/8.503, allocations: 0.6669 MB / 3.907 GB, free: 30.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/8.507, allocations: 0.7834 MB / 3.907 GB, free: 29.74 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/8.511, allocations: 2.636 MB / 3.91 GB, free: 27.05 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/8.512, allocations: 1.45 MB / 3.911 GB, free: 25.57 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002571/8.514, allocations: 1.028 MB / 3.912 GB, free: 24.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/8.514, allocations: 71.42 kB / 3.913 GB, free: 24.47 MB / 1.167 GB Notification: Performance of SimCode: time 1.302e-06/8.514, allocations: 0 / 3.913 GB, free: 24.47 MB / 1.167 GB Notification: Performance of Templates: time 0.8862/9.401, allocations: 47.39 MB / 3.959 GB, free: 285.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches