Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 179.1 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 82.55 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.801e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2448, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/2.063, allocations: 0.5063 GB / 1.392 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/2.064, allocations: 87.95 kB / 1.392 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.322/3.386, allocations: 424.1 MB / 1.806 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/3.386, allocations: 0 / 1.806 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.852e-05/3.386, allocations: 23.91 kB / 1.806 GB, free: 151.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003585/3.39, allocations: 1.526 MB / 1.807 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/3.39, allocations: 15.97 kB / 1.807 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/3.391, allocations: 159 kB / 1.808 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04408/3.435, allocations: 22.33 MB / 1.829 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/3.435, allocations: 23.94 kB / 1.829 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/3.435, allocations: 24 kB / 1.829 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004765/3.436, allocations: 286.5 kB / 1.83 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/3.436, allocations: 446.2 kB / 1.83 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/3.436, allocations: 4 kB / 1.83 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/3.436, allocations: 0 / 1.83 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/3.436, allocations: 12 kB / 1.83 GB, free: 126.8 MB / 0.8698 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.002098/3.439, allocations: 2.151 MB / 1.832 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/3.439, allocations: 251.1 kB / 1.832 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/3.439, allocations: 124.1 kB / 1.833 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/3.44, allocations: 1.726 MB / 1.834 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/3.44, allocations: 46.55 kB / 1.834 GB, free: 122 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/3.44, allocations: 0 / 1.834 GB, free: 122 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.004281/3.444, allocations: 1.467 MB / 1.836 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/3.444, allocations: 59.41 kB / 1.836 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/3.445, allocations: 398.2 kB / 1.836 GB, free: 120 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/3.445, allocations: 25.7 kB / 1.836 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/3.445, allocations: 328.3 kB / 1.836 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/3.445, allocations: 145.9 kB / 1.837 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/3.445, allocations: 0 / 1.837 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/3.445, allocations: 358.8 kB / 1.837 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/3.445, allocations: 133.1 kB / 1.837 GB, free: 119 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/3.445, allocations: 250.5 kB / 1.837 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/3.446, allocations: 233.5 kB / 1.838 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/3.446, allocations: 0 / 1.838 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001284/3.447, allocations: 0.6 MB / 1.838 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/3.448, allocations: 1.138 MB / 1.839 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/3.448, allocations: 8 kB / 1.839 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/3.448, allocations: 165.6 kB / 1.839 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/3.449, allocations: 75.84 kB / 1.839 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/3.449, allocations: 1.382 MB / 1.841 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/3.45, allocations: 31.98 kB / 1.841 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/3.45, allocations: 28.03 kB / 1.841 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/3.45, allocations: 1.406 kB / 1.841 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/3.451, allocations: 0.5282 MB / 1.841 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/3.451, allocations: 4 kB / 1.841 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/3.452, allocations: 161.6 kB / 1.842 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/3.452, allocations: 75.84 kB / 1.842 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008912/3.453, allocations: 1.37 MB / 1.843 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/3.453, allocations: 28.02 kB / 1.843 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/3.453, allocations: 20 kB / 1.843 GB, free: 112.6 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001932/3.453, allocations: 128.8 kB / 1.843 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/3.453, allocations: 63.3 kB / 1.843 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/3.455, allocations: 0.6378 MB / 1.844 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/3.455, allocations: 7.953 kB / 1.844 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/3.455, allocations: 7.938 kB / 1.844 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/3.456, allocations: 0.6624 MB / 1.844 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/3.459, allocations: 1.365 MB / 1.846 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/3.459, allocations: 0 / 1.846 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/3.459, allocations: 51.91 kB / 1.846 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/3.459, allocations: 169.5 kB / 1.846 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/3.459, allocations: 12.03 kB / 1.846 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009062/3.46, allocations: 1.355 MB / 1.847 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/3.46, allocations: 0 / 1.847 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/3.462, allocations: 0.8678 MB / 1.848 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/3.462, allocations: 200.3 kB / 1.848 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/3.462, allocations: 64 / 1.848 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/3.462, allocations: 27.83 kB / 1.848 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/3.463, allocations: 31.91 kB / 1.848 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/3.463, allocations: 19.98 kB / 1.848 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003132/3.463, allocations: 314.9 kB / 1.849 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/3.463, allocations: 4 kB / 1.849 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001819/3.465, allocations: 0.558 MB / 1.849 GB, free: 105.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/3.466, allocations: 0.6184 MB / 1.85 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001219/3.467, allocations: 0.6513 MB / 1.851 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/3.467, allocations: 0 / 1.851 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/3.468, allocations: 232.5 kB / 1.851 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/3.469, allocations: 297.6 kB / 1.851 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/3.47, allocations: 0.8823 MB / 1.852 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/3.471, allocations: 0.9268 MB / 1.853 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007418/3.471, allocations: 268.5 kB / 1.853 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/3.472, allocations: 51.42 kB / 1.853 GB, free: 102 MB / 0.8698 GB Notification: Performance of SimCode: time 1.263e-06/3.472, allocations: 0 / 1.853 GB, free: 102 MB / 0.8698 GB Notification: Performance of Templates: time 0.02353/3.495, allocations: 17.45 MB / 1.87 GB, free: 84.63 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches