Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 11 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.001251/0.001251, allocations: 182.3 kB / 326.5 MB, free: 2.219 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.909/1.909, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008604/0.0008604, allocations: 84.62 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 12.52 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/4.931, allocations: 2.185 GB / 3.085 GB, free: 36.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/4.931, allocations: 95.94 kB / 3.085 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.871/11.8, allocations: 1.923 GB / 5.008 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/11.8, allocations: 0 / 5.008 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001813/11.8, allocations: 35.92 kB / 5.008 GB, free: 172.6 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005776/11.81, allocations: 1.568 MB / 5.009 GB, free: 171 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/11.81, allocations: 8.031 kB / 5.009 GB, free: 171 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/11.81, allocations: 196 kB / 5.01 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/11.81, allocations: 1.473 MB / 5.011 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/11.81, allocations: 52.92 kB / 5.011 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/11.81, allocations: 60 kB / 5.011 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/11.82, allocations: 0.9527 MB / 5.012 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/11.82, allocations: 0 / 5.012 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/11.82, allocations: 27.94 kB / 5.012 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/11.82, allocations: 16 kB / 5.012 GB, free: 168.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/11.82, allocations: 0.7531 MB / 5.013 GB, free: 167.3 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.004515/11.82, allocations: 4.697 MB / 5.017 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/11.82, allocations: 4.01 MB / 5.021 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/11.82, allocations: 194.2 kB / 5.022 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/11.82, allocations: 328.9 kB / 5.022 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005006/11.82, allocations: 31.69 kB / 5.022 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.857e-06/11.82, allocations: 0 / 5.022 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.003397/11.83, allocations: 1.423 MB / 5.023 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/11.83, allocations: 85.06 kB / 5.023 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/11.83, allocations: 1.042 MB / 5.024 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/11.83, allocations: 37.7 kB / 5.024 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/11.83, allocations: 0.5166 MB / 5.025 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/11.83, allocations: 122.3 kB / 5.025 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/11.83, allocations: 12 kB / 5.025 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/11.83, allocations: 322 kB / 5.025 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/11.83, allocations: 217 kB / 5.026 GB, free: 153 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/11.83, allocations: 0.5482 MB / 5.026 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/11.83, allocations: 343.5 kB / 5.026 GB, free: 152 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/11.83, allocations: 0 / 5.026 GB, free: 152 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001598/11.83, allocations: 1.009 MB / 5.027 GB, free: 151 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005002/11.83, allocations: 2.217 MB / 5.03 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/11.83, allocations: 8 kB / 5.03 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/11.83, allocations: 274.5 kB / 5.03 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/11.83, allocations: 79.81 kB / 5.03 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/11.84, allocations: 1.044 MB / 5.031 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/11.84, allocations: 103.8 kB / 5.031 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/11.84, allocations: 31.92 kB / 5.031 GB, free: 147 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/11.84, allocations: 4 kB / 5.031 GB, free: 147 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/11.84, allocations: 0.8106 MB / 5.032 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/11.84, allocations: 12.09 kB / 5.032 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/11.84, allocations: 258.5 kB / 5.032 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/11.84, allocations: 75.89 kB / 5.032 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/11.84, allocations: 3.142 MB / 5.035 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/11.84, allocations: 103.8 kB / 5.035 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/11.84, allocations: 24 kB / 5.035 GB, free: 142.5 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006362/11.84, allocations: 478 kB / 5.036 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/11.84, allocations: 114.6 kB / 5.036 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/11.85, allocations: 0.8365 MB / 5.037 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/11.85, allocations: 4 kB / 5.037 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/11.85, allocations: 0 / 5.037 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/11.85, allocations: 4 kB / 5.037 GB, free: 141 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.002875/11.85, allocations: 2.179 MB / 5.039 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/11.85, allocations: 4 kB / 5.039 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/11.85, allocations: 48.16 kB / 5.039 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/11.85, allocations: 205.4 kB / 5.039 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/11.85, allocations: 19.95 kB / 5.039 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005609/11.85, allocations: 0.8783 MB / 5.04 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/11.85, allocations: 0 / 5.04 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/11.85, allocations: 1.006 MB / 5.041 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/11.85, allocations: 235.6 kB / 5.041 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/11.85, allocations: 8 kB / 5.041 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/11.85, allocations: 83.69 kB / 5.041 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/11.85, allocations: 47.83 kB / 5.041 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/11.85, allocations: 12 kB / 5.041 GB, free: 136 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001037/11.85, allocations: 0.825 MB / 5.042 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.9e-07/11.85, allocations: 0 / 5.042 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002004/11.86, allocations: 0.6089 MB / 5.043 GB, free: 134.6 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/11.86, allocations: 1.132 MB / 5.044 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001831/11.86, allocations: 1.148 MB / 5.045 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/11.86, allocations: 4.062 kB / 5.045 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/11.86, allocations: 259.7 kB / 5.045 GB, free: 132 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/11.86, allocations: 0.6467 MB / 5.046 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/11.87, allocations: 2.107 MB / 5.048 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/11.87, allocations: 1.232 MB / 5.049 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001157/11.87, allocations: 376.6 kB / 5.05 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/11.87, allocations: 71.44 kB / 5.05 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/11.87, allocations: 0 / 5.05 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.04477/11.91, allocations: 34.34 MB / 5.083 GB, free: 93.33 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches