Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 187.7 kB / 326.5 MB, free: 2.246 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.794/1.794, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0008931/0.0008934, allocations: 92.03 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 9 kB / 0.7962 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2314, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.69/4.921, allocations: 2.182 GB / 3.082 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/4.921, allocations: 98.7 kB / 3.082 GB, free: 40.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.786/10.71, allocations: 1.913 GB / 4.995 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/10.71, allocations: 0 / 4.995 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001696/10.71, allocations: 35.98 kB / 4.995 GB, free: 188.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005413/10.71, allocations: 1.576 MB / 4.997 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/10.71, allocations: 8.031 kB / 4.997 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/10.71, allocations: 198.3 kB / 4.997 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/10.72, allocations: 1.452 MB / 4.998 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/10.72, allocations: 49.31 kB / 4.999 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/10.72, allocations: 64 kB / 4.999 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/10.72, allocations: 0.9532 MB / 5 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/10.72, allocations: 3.938 kB / 5 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/10.72, allocations: 24 kB / 5 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/10.72, allocations: 12 kB / 5 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/10.72, allocations: 0.7584 MB / 5 GB, free: 183.1 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004499/10.73, allocations: 4.725 MB / 5.005 GB, free: 178 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/10.73, allocations: 4.066 MB / 5.009 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/10.73, allocations: 202.1 kB / 5.009 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/10.73, allocations: 326.5 kB / 5.009 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004591/10.73, allocations: 35.67 kB / 5.009 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 2.624e-06/10.73, allocations: 0 / 5.009 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.002917/10.73, allocations: 1.305 MB / 5.011 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/10.73, allocations: 81.11 kB / 5.011 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/10.73, allocations: 1.05 MB / 5.012 GB, free: 170 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/10.73, allocations: 37.7 kB / 5.012 GB, free: 170 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/10.73, allocations: 0.5174 MB / 5.012 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/10.73, allocations: 118.3 kB / 5.012 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/10.73, allocations: 12 kB / 5.012 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/10.73, allocations: 326 kB / 5.013 GB, free: 169 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/10.73, allocations: 213 kB / 5.013 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/10.73, allocations: 0.5443 MB / 5.013 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/10.74, allocations: 344.4 kB / 5.014 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/10.74, allocations: 0 / 5.014 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001408/10.74, allocations: 0.9784 MB / 5.015 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000386/10.74, allocations: 2.225 MB / 5.017 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/10.74, allocations: 4 kB / 5.017 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/10.74, allocations: 237.6 kB / 5.017 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/10.74, allocations: 71.89 kB / 5.017 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000753/10.74, allocations: 1.007 MB / 5.018 GB, free: 163 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/10.74, allocations: 99.8 kB / 5.018 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/10.74, allocations: 31.98 kB / 5.018 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/10.74, allocations: 3.938 kB / 5.018 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/10.74, allocations: 0.7908 MB / 5.019 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/10.74, allocations: 4 kB / 5.019 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/10.74, allocations: 224.6 kB / 5.019 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/10.74, allocations: 79.95 kB / 5.019 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/10.74, allocations: 2.948 MB / 5.022 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/10.75, allocations: 107.8 kB / 5.022 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/10.75, allocations: 27.98 kB / 5.022 GB, free: 158.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005094/10.75, allocations: 481.2 kB / 5.023 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/10.75, allocations: 106.7 kB / 5.023 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/10.75, allocations: 0.797 MB / 5.024 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/10.75, allocations: 7.984 kB / 5.024 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/10.75, allocations: 3.953 kB / 5.024 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/10.75, allocations: 7.922 kB / 5.024 GB, free: 157.2 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.002589/10.75, allocations: 2.148 MB / 5.026 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/10.75, allocations: 0 / 5.026 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/10.75, allocations: 47.97 kB / 5.026 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/10.75, allocations: 176.9 kB / 5.026 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/10.75, allocations: 11.98 kB / 5.026 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005036/10.75, allocations: 0.842 MB / 5.027 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/10.75, allocations: 7.969 kB / 5.027 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/10.75, allocations: 0.9778 MB / 5.028 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/10.75, allocations: 235.6 kB / 5.028 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/10.75, allocations: 15.92 kB / 5.028 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/10.75, allocations: 83.7 kB / 5.028 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/10.75, allocations: 31.95 kB / 5.028 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/10.75, allocations: 15.98 kB / 5.028 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008809/10.75, allocations: 0.8248 MB / 5.029 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/10.75, allocations: 0 / 5.029 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001657/10.76, allocations: 0.5973 MB / 5.03 GB, free: 150.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/10.76, allocations: 1.073 MB / 5.031 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001649/10.76, allocations: 1.136 MB / 5.032 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/10.76, allocations: 4.062 kB / 5.032 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003845/10.76, allocations: 243.7 kB / 5.032 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/10.76, allocations: 0.657 MB / 5.033 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/10.77, allocations: 2.093 MB / 5.035 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/10.77, allocations: 1.248 MB / 5.036 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001058/10.77, allocations: 380.6 kB / 5.036 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/10.77, allocations: 67.42 kB / 5.036 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/10.77, allocations: 3.938 kB / 5.036 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04193/10.81, allocations: 33.35 MB / 5.069 GB, free: 110.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches