Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001051/0.001051, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.561/1.561, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.001057/0.001057, allocations: 95.84 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.966e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.57/6.895, allocations: 1.872 GB / 3.084 GB, free: 361.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/6.895, allocations: 94.11 kB / 3.084 GB, free: 361.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.464/14.36, allocations: 2.007 GB / 5.091 GB, free: 156.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/14.36, allocations: 0 / 5.091 GB, free: 156.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002003/14.36, allocations: 35.97 kB / 5.091 GB, free: 156.2 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004652/14.36, allocations: 1.275 MB / 5.092 GB, free: 154.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/14.36, allocations: 8.031 kB / 5.092 GB, free: 154.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/14.37, allocations: 198.4 kB / 5.092 GB, free: 154.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/14.37, allocations: 1.456 MB / 5.094 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/14.37, allocations: 49.31 kB / 5.094 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/14.37, allocations: 64 kB / 5.094 GB, free: 153 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/14.37, allocations: 0.9185 MB / 5.095 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/14.37, allocations: 7.938 kB / 5.095 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/14.37, allocations: 20 kB / 5.095 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/14.37, allocations: 19.95 kB / 5.095 GB, free: 152 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/14.37, allocations: 0.7025 MB / 5.096 GB, free: 151.3 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.004456/14.38, allocations: 4.701 MB / 5.1 GB, free: 146.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/14.38, allocations: 3.97 MB / 5.104 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/14.38, allocations: 325.7 kB / 5.104 GB, free: 141.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/14.38, allocations: 194.2 kB / 5.105 GB, free: 140.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/14.38, allocations: 301.4 kB / 5.105 GB, free: 140.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005696/14.38, allocations: 27.69 kB / 5.105 GB, free: 140.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 5.37e-06/14.38, allocations: 0 / 5.105 GB, free: 140.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001549/14.38, allocations: 0.7625 MB / 5.106 GB, free: 139.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/14.38, allocations: 89.09 kB / 5.106 GB, free: 139.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/14.38, allocations: 1.036 MB / 5.107 GB, free: 138.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/14.38, allocations: 37.7 kB / 5.107 GB, free: 138.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/14.38, allocations: 0.5166 MB / 5.107 GB, free: 138.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/14.38, allocations: 122.3 kB / 5.107 GB, free: 137.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/14.38, allocations: 12 kB / 5.107 GB, free: 137.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/14.38, allocations: 329.9 kB / 5.108 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/14.38, allocations: 189 kB / 5.108 GB, free: 137.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/14.38, allocations: 0.5249 MB / 5.108 GB, free: 136.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/14.39, allocations: 311.3 kB / 5.109 GB, free: 136.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/14.39, allocations: 7.891 kB / 5.109 GB, free: 136.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001432/14.39, allocations: 0.964 MB / 5.11 GB, free: 135.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007228/14.39, allocations: 2.229 MB / 5.112 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/14.39, allocations: 12 kB / 5.112 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/14.39, allocations: 261.6 kB / 5.112 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/14.39, allocations: 75.88 kB / 5.112 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/14.39, allocations: 1.042 MB / 5.113 GB, free: 131.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/14.39, allocations: 107.8 kB / 5.113 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/14.39, allocations: 28 kB / 5.113 GB, free: 131.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/14.39, allocations: 7.938 kB / 5.113 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/14.39, allocations: 0.7789 MB / 5.114 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/14.39, allocations: 4 kB / 5.114 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/14.39, allocations: 253.5 kB / 5.114 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/14.39, allocations: 79.83 kB / 5.114 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/14.4, allocations: 3.073 MB / 5.117 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/14.4, allocations: 103.8 kB / 5.117 GB, free: 127.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/14.4, allocations: 24 kB / 5.117 GB, free: 127.1 MB / 1.151 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 () * 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.0002102/14.4, allocations: 150.2 kB / 5.118 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/14.4, allocations: 110.6 kB / 5.118 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/14.4, allocations: 0.7698 MB / 5.118 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/14.4, allocations: 8 kB / 5.118 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/14.4, allocations: 0 / 5.118 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/14.4, allocations: 0 / 5.118 GB, free: 126 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 postOpt removeSimpleEquations (simulation): time 0.002926/14.4, allocations: 2.152 MB / 5.121 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/14.4, allocations: 4 kB / 5.121 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/14.4, allocations: 64.08 kB / 5.121 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/14.4, allocations: 208.5 kB / 5.121 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/14.4, allocations: 8 kB / 5.121 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006003/14.4, allocations: 0.8656 MB / 5.122 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/14.4, allocations: 7.984 kB / 5.122 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/14.41, allocations: 0.9586 MB / 5.123 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/14.41, allocations: 239.7 kB / 5.123 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/14.41, allocations: 8 kB / 5.123 GB, free: 121.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/14.41, allocations: 79.75 kB / 5.123 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/14.41, allocations: 35.91 kB / 5.123 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/14.41, allocations: 16 kB / 5.123 GB, free: 121.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001438/14.41, allocations: 0.8145 MB / 5.124 GB, free: 120.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/14.41, allocations: 4 kB / 5.124 GB, free: 120.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003204/14.41, allocations: 0.605 MB / 5.124 GB, free: 119.7 MB / 1.151 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) * 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.00256/14.41, allocations: 1.13 MB / 5.126 GB, free: 118.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002307/14.42, allocations: 1.133 MB / 5.127 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/14.42, allocations: 0 / 5.127 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/14.42, allocations: 235.8 kB / 5.127 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/14.42, allocations: 0.6511 MB / 5.127 GB, free: 116.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/14.42, allocations: 1.462 MB / 5.129 GB, free: 115 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/14.43, allocations: 1.242 MB / 5.13 GB, free: 113.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002287/14.43, allocations: 0.7967 MB / 5.131 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/14.43, allocations: 51.44 kB / 5.131 GB, free: 112.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/14.43, allocations: 4 kB / 5.131 GB, free: 112.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04793/14.48, allocations: 39.41 MB / 5.169 GB, free: 73.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches