Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,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.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,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.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.863 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.001188/0.001188, allocations: 180.9 kB / 316.3 MB, free: 3.227 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.918/1.918, 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.001079/0.001079, allocations: 88.36 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.652e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.611/6.856, allocations: 2.182 GB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/6.857, allocations: 90 kB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.748/12.6, allocations: 1.706 GB / 4.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/12.6, allocations: 0 / 4.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.571e-05/12.61, allocations: 27.98 kB / 4.773 GB, free: 143.4 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.001643/12.61, allocations: 1.136 MB / 4.774 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/12.61, allocations: 12.56 kB / 4.774 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/12.61, allocations: 182.5 kB / 4.774 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/12.61, allocations: 1.085 MB / 4.775 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/12.61, allocations: 23.94 kB / 4.775 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/12.61, allocations: 36 kB / 4.775 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006388/12.61, allocations: 470.3 kB / 4.776 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/12.61, allocations: 0.6727 MB / 4.776 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/12.61, allocations: 4 kB / 4.776 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/12.61, allocations: 4 kB / 4.776 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/12.61, allocations: 12 kB / 4.776 GB, free: 139.6 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.002882/12.61, allocations: 4.476 MB / 4.781 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/12.61, allocations: 438.5 kB / 4.781 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/12.61, allocations: 242.2 kB / 4.781 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/12.61, allocations: 194.2 kB / 4.782 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/12.62, allocations: 263.2 kB / 4.782 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/12.62, allocations: 0 / 4.782 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008005/12.62, allocations: 493.6 kB / 4.782 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/12.62, allocations: 85.09 kB / 4.782 GB, free: 133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007865/12.62, allocations: 0.8479 MB / 4.783 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/12.62, allocations: 33.7 kB / 4.783 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/12.62, allocations: 492.1 kB / 4.784 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/12.62, allocations: 102.5 kB / 4.784 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/12.62, allocations: 0 / 4.784 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/12.62, allocations: 326 kB / 4.784 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/12.62, allocations: 184.7 kB / 4.784 GB, free: 131 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/12.62, allocations: 0.5001 MB / 4.785 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/12.62, allocations: 261.8 kB / 4.785 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/12.62, allocations: 0 / 4.785 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007135/12.62, allocations: 0.6054 MB / 4.786 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000483/12.62, allocations: 2.127 MB / 4.788 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/12.62, allocations: 8 kB / 4.788 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/12.62, allocations: 12.09 kB / 4.788 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/12.62, allocations: 111.8 kB / 4.788 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/12.62, allocations: 12.22 kB / 4.788 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/12.62, allocations: 95.44 kB / 4.788 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/12.62, allocations: 24 kB / 4.788 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/12.62, allocations: 4 kB / 4.788 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004703/12.62, allocations: 415.5 kB / 4.788 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/12.62, allocations: 8 kB / 4.788 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/12.62, allocations: 8 kB / 4.788 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/12.62, allocations: 108.3 kB / 4.789 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/12.62, allocations: 15.94 kB / 4.789 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/12.62, allocations: 79.61 kB / 4.789 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/12.62, allocations: 23.94 kB / 4.789 GB, free: 126.2 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/12.62, allocations: 128.8 kB / 4.789 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/12.62, allocations: 90.88 kB / 4.789 GB, free: 126 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/12.62, allocations: 438.7 kB / 4.789 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/12.62, allocations: 8 kB / 4.789 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/12.62, allocations: 0 / 4.789 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/12.62, allocations: 0 / 4.789 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/12.62, allocations: 1.27 MB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/12.62, allocations: 4 kB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/12.62, allocations: 67.89 kB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/12.62, allocations: 8 kB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/12.62, allocations: 4 kB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/12.62, allocations: 4 kB / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/12.62, allocations: 0 / 4.791 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/12.62, allocations: 0.6345 MB / 4.791 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/12.63, allocations: 211.9 kB / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/12.63, allocations: 0 / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/12.63, allocations: 55.8 kB / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/12.63, allocations: 35.91 kB / 4.792 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/12.63, allocations: 11.98 kB / 4.792 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005827/12.63, allocations: 0.665 MB / 4.792 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/12.63, allocations: 0 / 4.792 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001183/12.63, allocations: 455.3 kB / 4.793 GB, free: 122 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/12.63, allocations: 1.03 MB / 4.794 GB, free: 121 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007721/12.63, allocations: 0.7598 MB / 4.794 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/12.63, allocations: 0 / 4.794 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/12.63, allocations: 175.7 kB / 4.795 GB, free: 120 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/12.63, allocations: 399.5 kB / 4.795 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/12.63, allocations: 1.305 MB / 4.796 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/12.63, allocations: 1.206 MB / 4.797 GB, free: 117 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001568/12.64, allocations: 0.7484 MB / 4.798 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/12.64, allocations: 51.44 kB / 4.798 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/12.64, allocations: 0 / 4.798 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.0255/12.66, allocations: 19.87 MB / 4.818 GB, free: 96.48 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches