Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,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.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,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.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.891 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.001065/0.001065, allocations: 180 kB / 316.3 MB, free: 3.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.374/1.374, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008987/0.0008987, allocations: 88.8 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.061e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2272, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.167/6.394, allocations: 2.182 GB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/6.395, allocations: 90.81 kB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.079/12.47, allocations: 1.707 GB / 4.775 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/12.47, allocations: 4 kB / 4.775 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001069/12.47, allocations: 31.98 kB / 4.775 GB, free: 141.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003464/12.48, allocations: 1.222 MB / 4.776 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/12.48, allocations: 11.97 kB / 4.776 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/12.48, allocations: 194.5 kB / 4.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/12.48, allocations: 1.385 MB / 4.777 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/12.48, allocations: 16 kB / 4.777 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/12.48, allocations: 36 kB / 4.778 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006765/12.48, allocations: 498.3 kB / 4.778 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/12.48, allocations: 0.6923 MB / 4.779 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/12.48, allocations: 3.938 kB / 4.779 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/12.48, allocations: 4 kB / 4.779 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/12.48, allocations: 12 kB / 4.779 GB, free: 137.5 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.003121/12.49, allocations: 4.094 MB / 4.783 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/12.49, allocations: 454.9 kB / 4.783 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/12.49, allocations: 337.6 kB / 4.783 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/12.49, allocations: 202.1 kB / 4.784 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/12.49, allocations: 286.8 kB / 4.784 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002498/12.49, allocations: 15.84 kB / 4.784 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/12.49, allocations: 4 kB / 4.784 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00156/12.49, allocations: 0.7982 MB / 4.785 GB, free: 131 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/12.49, allocations: 81.11 kB / 4.785 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/12.49, allocations: 0.8479 MB / 4.786 GB, free: 130 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/12.49, allocations: 33.69 kB / 4.786 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/12.49, allocations: 484.2 kB / 4.786 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/12.49, allocations: 114.4 kB / 4.786 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/12.49, allocations: 8.109 kB / 4.786 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/12.49, allocations: 325.9 kB / 4.787 GB, free: 129 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/12.49, allocations: 197 kB / 4.787 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/12.49, allocations: 0.5095 MB / 4.787 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/12.49, allocations: 286.9 kB / 4.787 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/12.49, allocations: 4 kB / 4.788 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001369/12.49, allocations: 0.9315 MB / 4.788 GB, free: 127 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004383/12.49, allocations: 2.133 MB / 4.79 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/12.49, allocations: 8 kB / 4.791 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/12.49, allocations: 241.9 kB / 4.791 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/12.49, allocations: 71.89 kB / 4.791 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000909/12.5, allocations: 1.14 MB / 4.792 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/12.5, allocations: 75.88 kB / 4.792 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/12.5, allocations: 24 kB / 4.792 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/12.5, allocations: 8 kB / 4.792 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000942/12.5, allocations: 0.637 MB / 4.793 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/12.5, allocations: 4.062 kB / 4.793 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/12.5, allocations: 228.5 kB / 4.793 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/12.5, allocations: 71.89 kB / 4.793 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/12.5, allocations: 2.883 MB / 4.796 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/12.5, allocations: 79.81 kB / 4.796 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/12.5, allocations: 20 kB / 4.796 GB, free: 119 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001558/12.5, allocations: 128.8 kB / 4.796 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/12.5, allocations: 91.06 kB / 4.796 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/12.5, allocations: 0.7143 MB / 4.797 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/12.5, allocations: 4 kB / 4.797 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/12.5, allocations: 0 / 4.797 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/12.5, allocations: 3.984 kB / 4.797 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/12.5, allocations: 1.572 MB / 4.798 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/12.5, allocations: 7.938 kB / 4.798 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/12.5, allocations: 35.91 kB / 4.798 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/12.51, allocations: 205 kB / 4.799 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/12.51, allocations: 4 kB / 4.799 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006627/12.51, allocations: 1.016 MB / 4.8 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/12.51, allocations: 4.031 kB / 4.8 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008663/12.51, allocations: 0.9073 MB / 4.8 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/12.51, allocations: 215.9 kB / 4.801 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/12.51, allocations: 4 kB / 4.801 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/12.51, allocations: 63.77 kB / 4.801 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/12.51, allocations: 35.84 kB / 4.801 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/12.51, allocations: 12 kB / 4.801 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00066/12.51, allocations: 0.6611 MB / 4.801 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/12.51, allocations: 11.94 kB / 4.801 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001455/12.51, allocations: 0.5072 MB / 4.802 GB, free: 112.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/12.51, allocations: 1.026 MB / 4.803 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001414/12.51, allocations: 1.041 MB / 4.804 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/12.51, allocations: 0 / 4.804 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/12.51, allocations: 219.2 kB / 4.804 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/12.52, allocations: 0.5347 MB / 4.805 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/12.52, allocations: 1.34 MB / 4.806 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/12.52, allocations: 1.214 MB / 4.807 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001554/12.52, allocations: 0.6669 MB / 4.808 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/12.52, allocations: 39.44 kB / 4.808 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/12.52, allocations: 4 kB / 4.808 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.0323/12.55, allocations: 23.42 MB / 4.831 GB, free: 83.13 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches