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.503/2.503, allocations: 390.5 MB / 398 MB, free: 10.96 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.001243/0.001243, allocations: 180.8 kB / 491.2 MB, free: 1.539 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.661/1.661, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.00092/0.0009198, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.67e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3235, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.528/6.852, allocations: 2.166 GB / 3.378 GB, free: 110.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/6.852, allocations: 95 kB / 3.378 GB, free: 110.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.771/8.623, allocations: 483.7 MB / 3.851 GB, free: 83.79 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/8.623, allocations: 0 / 3.851 GB, free: 83.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001253/8.623, allocations: 51.86 kB / 3.851 GB, free: 83.74 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.00363/8.626, allocations: 1.504 MB / 3.852 GB, free: 82.19 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/8.626, allocations: 8.031 kB / 3.852 GB, free: 82.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/8.63, allocations: 485.7 kB / 3.853 GB, free: 81.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/8.632, allocations: 1.339 MB / 3.854 GB, free: 80.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/8.632, allocations: 32 kB / 3.854 GB, free: 80.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/8.632, allocations: 60 kB / 3.854 GB, free: 80.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/8.634, allocations: 1.128 MB / 3.855 GB, free: 79.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/8.636, allocations: 1.093 MB / 3.856 GB, free: 78 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/8.636, allocations: 4 kB / 3.856 GB, free: 78 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/8.636, allocations: 0 / 3.856 GB, free: 78 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/8.636, allocations: 37.98 kB / 3.856 GB, free: 77.96 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.005946/8.642, allocations: 4.684 MB / 3.861 GB, free: 72.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/8.643, allocations: 0.9397 MB / 3.862 GB, free: 71.96 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/8.644, allocations: 0.5367 MB / 3.862 GB, free: 71.42 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/8.644, allocations: 206.9 kB / 3.863 GB, free: 71.18 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/8.644, allocations: 43.34 kB / 3.863 GB, free: 71.13 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/8.644, allocations: 0 / 3.863 GB, free: 71.13 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004299/8.649, allocations: 2.449 MB / 3.865 GB, free: 68.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/8.649, allocations: 64.12 kB / 3.865 GB, free: 68.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/8.649, allocations: 0.7711 MB / 3.866 GB, free: 67.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/8.65, allocations: 29.7 kB / 3.866 GB, free: 67.72 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/8.65, allocations: 0.5389 MB / 3.866 GB, free: 67.17 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/8.65, allocations: 275.8 kB / 3.867 GB, free: 66.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/8.65, allocations: 0 / 3.867 GB, free: 66.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/8.65, allocations: 345.9 kB / 3.867 GB, free: 66.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/8.651, allocations: 413.3 kB / 3.867 GB, free: 66.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/8.651, allocations: 0.5646 MB / 3.868 GB, free: 65.53 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/8.652, allocations: 0.5242 MB / 3.868 GB, free: 65.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/8.652, allocations: 0 / 3.868 GB, free: 65.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001384/8.653, allocations: 1.159 MB / 3.87 GB, free: 63.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/8.653, allocations: 1.054 MB / 3.871 GB, free: 62.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/8.653, allocations: 8 kB / 3.871 GB, free: 62.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/8.654, allocations: 72.81 kB / 3.871 GB, free: 62.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/8.654, allocations: 195.7 kB / 3.871 GB, free: 62.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/8.656, allocations: 2.928 MB / 3.874 GB, free: 59.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/8.658, allocations: 139.6 kB / 3.874 GB, free: 59.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/8.658, allocations: 28 kB / 3.874 GB, free: 59.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/8.658, allocations: 4 kB / 3.874 GB, free: 59.17 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/8.659, allocations: 1.026 MB / 3.875 GB, free: 58.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/8.659, allocations: 3.938 kB / 3.875 GB, free: 58.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/8.659, allocations: 72.81 kB / 3.875 GB, free: 58.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/8.66, allocations: 171.8 kB / 3.875 GB, free: 57.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/8.661, allocations: 1.752 MB / 3.877 GB, free: 56.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/8.662, allocations: 135.6 kB / 3.877 GB, free: 55.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/8.662, allocations: 27.94 kB / 3.877 GB, free: 55.86 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.0002432/8.663, allocations: 132.8 kB / 3.877 GB, free: 55.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/8.663, allocations: 102.8 kB / 3.877 GB, free: 55.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/8.665, allocations: 1.106 MB / 3.878 GB, free: 54.51 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/8.665, allocations: 8 kB / 3.878 GB, free: 54.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/8.665, allocations: 11.94 kB / 3.878 GB, free: 54.49 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/8.666, allocations: 1.185 MB / 3.879 GB, free: 53.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/8.669, allocations: 2.591 MB / 3.882 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/8.669, allocations: 0 / 3.882 GB, free: 50.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009894/8.67, allocations: 239.6 kB / 3.882 GB, free: 50.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/8.67, allocations: 73.06 kB / 3.882 GB, free: 50.26 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/8.671, allocations: 16.17 kB / 3.882 GB, free: 50.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/8.672, allocations: 2.924 MB / 3.885 GB, free: 47.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/8.672, allocations: 4 kB / 3.885 GB, free: 47.15 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/8.674, allocations: 1.856 MB / 3.887 GB, free: 45.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/8.675, allocations: 319.8 kB / 3.887 GB, free: 44.87 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/8.675, allocations: 11.98 kB / 3.887 GB, free: 44.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/8.676, allocations: 99.62 kB / 3.887 GB, free: 44.76 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/8.676, allocations: 56.7 kB / 3.887 GB, free: 44.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/8.676, allocations: 32 kB / 3.887 GB, free: 44.67 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000715/8.677, allocations: 0.6011 MB / 3.888 GB, free: 44.06 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/8.677, allocations: 0 / 3.888 GB, free: 44.06 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002352/8.679, allocations: 0.7264 MB / 3.889 GB, free: 43.33 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.002048/8.681, allocations: 1.519 MB / 3.89 GB, free: 41.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002568/8.684, allocations: 1.818 MB / 3.892 GB, free: 39.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.684, allocations: 0 / 3.892 GB, free: 39.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006998/8.685, allocations: 0.6253 MB / 3.893 GB, free: 39.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/8.688, allocations: 0.7452 MB / 3.893 GB, free: 38.55 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/8.692, allocations: 2.577 MB / 3.896 GB, free: 35.92 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007981/8.693, allocations: 1.45 MB / 3.897 GB, free: 34.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0025/8.695, allocations: 0.9687 MB / 3.898 GB, free: 33.47 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/8.695, allocations: 71.44 kB / 3.898 GB, free: 33.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/8.695, allocations: 0 / 3.898 GB, free: 33.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05292/8.748, allocations: 33.03 MB / 3.931 GB, free: 0.6055 MB / 1.151 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