Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.607/2.607, allocations: 390.5 MB / 398 MB, free: 10.97 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.001712/0.001712, allocations: 191 kB / 491.2 MB, free: 1.566 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.897/1.897, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.00145/0.00145, allocations: 95.94 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.051e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.36, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/6.098, allocations: 1.872 GB / 3.084 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/6.098, allocations: 91.06 kB / 3.084 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.349/12.45, allocations: 1.796 GB / 4.88 GB, free: 361.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/12.45, allocations: 6.094 kB / 4.88 GB, free: 361.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000109/12.45, allocations: 33.62 kB / 4.88 GB, free: 361.3 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003488/12.45, allocations: 1.233 MB / 4.882 GB, free: 360.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/12.45, allocations: 15.22 kB / 4.882 GB, free: 360.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/12.45, allocations: 183.7 kB / 4.882 GB, free: 360.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/12.45, allocations: 1.401 MB / 4.883 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/12.45, allocations: 16.81 kB / 4.883 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/12.45, allocations: 38.28 kB / 4.883 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007581/12.46, allocations: 490.9 kB / 4.884 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/12.46, allocations: 0.7024 MB / 4.884 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/12.46, allocations: 3.844 kB / 4.884 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/12.46, allocations: 3.562 kB / 4.884 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/12.46, allocations: 21.78 kB / 4.884 GB, free: 360.2 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.003347/12.46, allocations: 4.084 MB / 4.888 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/12.46, allocations: 435.3 kB / 4.889 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/12.46, allocations: 316.4 kB / 4.889 GB, free: 357.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/12.46, allocations: 200.2 kB / 4.889 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/12.46, allocations: 284.9 kB / 4.889 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002662/12.46, allocations: 14.64 kB / 4.89 GB, free: 357.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.003e-06/12.46, allocations: 0 / 4.89 GB, free: 357.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009152/12.46, allocations: 0.5072 MB / 4.89 GB, free: 357 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/12.46, allocations: 80.92 kB / 4.89 GB, free: 357 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/12.46, allocations: 0.8454 MB / 4.891 GB, free: 356.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/12.46, allocations: 29.05 kB / 4.891 GB, free: 356.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/12.46, allocations: 488.5 kB / 4.891 GB, free: 356.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/12.46, allocations: 107.2 kB / 4.891 GB, free: 356.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/12.46, allocations: 6.562 kB / 4.892 GB, free: 356.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/12.46, allocations: 329 kB / 4.892 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/12.46, allocations: 191.5 kB / 4.892 GB, free: 356.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/12.46, allocations: 0.5072 MB / 4.892 GB, free: 355.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/12.46, allocations: 276 kB / 4.893 GB, free: 355.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/12.46, allocations: 0 / 4.893 GB, free: 355.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008265/12.47, allocations: 0.6345 MB / 4.893 GB, free: 355.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004708/12.47, allocations: 2.133 MB / 4.895 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/12.47, allocations: 3.5 kB / 4.895 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/12.47, allocations: 13.91 kB / 4.895 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/12.47, allocations: 115.3 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/12.47, allocations: 10.69 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/12.47, allocations: 85.56 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/12.47, allocations: 27.78 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/12.47, allocations: 3.812 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005841/12.47, allocations: 448.1 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/12.47, allocations: 3.969 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/12.47, allocations: 18.05 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/12.47, allocations: 119.6 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/12.47, allocations: 12.44 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/12.47, allocations: 76.61 kB / 4.896 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/12.47, allocations: 21.91 kB / 4.896 GB, free: 353.6 MB / 1.151 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 (55): * Single equations (assignments): 54 * 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.0001541/12.47, allocations: 128.1 kB / 4.896 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/12.47, allocations: 101.1 kB / 4.897 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/12.47, allocations: 479.2 kB / 4.897 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/12.47, allocations: 3.75 kB / 4.897 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/12.47, allocations: 0 / 4.897 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/12.47, allocations: 5.922 kB / 4.897 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/12.47, allocations: 1.338 MB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/12.47, allocations: 0 / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/12.47, allocations: 77.67 kB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/12.47, allocations: 3.688 kB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/12.47, allocations: 3.969 kB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/12.47, allocations: 3.688 kB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/12.47, allocations: 7.797 kB / 4.898 GB, free: 352.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/12.47, allocations: 0.6654 MB / 4.899 GB, free: 352.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/12.47, allocations: 212.3 kB / 4.899 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/12.47, allocations: 10.77 kB / 4.899 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/12.47, allocations: 67.64 kB / 4.899 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/12.47, allocations: 34.94 kB / 4.899 GB, free: 352.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/12.47, allocations: 17.84 kB / 4.899 GB, free: 352.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000674/12.47, allocations: 0.6592 MB / 4.9 GB, free: 352.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/12.47, allocations: 3.281 kB / 4.9 GB, free: 352.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001349/12.48, allocations: 477.1 kB / 4.901 GB, free: 352.3 MB / 1.151 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 (33): * Single equations (assignments): 31 * 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.001405/12.48, allocations: 1.103 MB / 4.902 GB, free: 352.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001007/12.48, allocations: 0.815 MB / 4.902 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/12.48, allocations: 0 / 4.902 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/12.48, allocations: 200.3 kB / 4.903 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/12.48, allocations: 0.5508 MB / 4.903 GB, free: 351.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/12.48, allocations: 1.337 MB / 4.904 GB, free: 351.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/12.48, allocations: 1.2 MB / 4.906 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001858/12.49, allocations: 0.7594 MB / 4.906 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/12.49, allocations: 53.97 kB / 4.906 GB, free: 350.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.82e-07/12.49, allocations: 3.688 kB / 4.906 GB, free: 350.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03184/12.52, allocations: 21.85 MB / 4.928 GB, free: 346.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches