Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.002072/0.002072, allocations: 179 kB / 498.1 MB, free: 5.723 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.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009608/0.0009607, allocations: 104.3 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004398, allocations: 10.62 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.63/4.962, allocations: 1.872 GB / 3.095 GB, free: 143.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/4.962, allocations: 99.94 kB / 3.095 GB, free: 143.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.121/12.08, allocations: 1.816 GB / 4.911 GB, free: 125.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.874e-06/12.08, allocations: 0 / 4.911 GB, free: 125.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000192/12.08, allocations: 35.98 kB / 4.911 GB, free: 125.9 MB / 1.167 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.005985/12.09, allocations: 1.519 MB / 4.912 GB, free: 124.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/12.09, allocations: 12.03 kB / 4.912 GB, free: 124.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/12.09, allocations: 182.5 kB / 4.912 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/12.1, allocations: 1.42 MB / 4.914 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/12.1, allocations: 41 kB / 4.914 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/12.1, allocations: 67.95 kB / 4.914 GB, free: 122.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/12.1, allocations: 0.7927 MB / 4.915 GB, free: 121.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/12.1, allocations: 0 / 4.915 GB, free: 121.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/12.1, allocations: 24 kB / 4.915 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/12.1, allocations: 12 kB / 4.915 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/12.1, allocations: 0.5345 MB / 4.915 GB, free: 121.1 MB / 1.167 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.003735/12.1, allocations: 4.223 MB / 4.919 GB, free: 116.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/12.1, allocations: 416.6 kB / 4.92 GB, free: 116.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/12.1, allocations: 194.2 kB / 4.92 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/12.1, allocations: 307.1 kB / 4.92 GB, free: 115.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003637/12.1, allocations: 31.69 kB / 4.92 GB, free: 115.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/12.1, allocations: 0 / 4.92 GB, free: 115.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001265/12.11, allocations: 0.6972 MB / 4.921 GB, free: 114.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/12.11, allocations: 81.11 kB / 4.921 GB, free: 114.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/12.11, allocations: 1.02 MB / 4.922 GB, free: 113.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/12.11, allocations: 41.7 kB / 4.922 GB, free: 113.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/12.11, allocations: 492.8 kB / 4.922 GB, free: 113.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/12.11, allocations: 114.4 kB / 4.923 GB, free: 113.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/12.11, allocations: 8 kB / 4.923 GB, free: 113.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/12.11, allocations: 322 kB / 4.923 GB, free: 112.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/12.11, allocations: 201 kB / 4.923 GB, free: 112.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/12.11, allocations: 0.5217 MB / 4.924 GB, free: 111.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/12.11, allocations: 299.5 kB / 4.924 GB, free: 111.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/12.11, allocations: 4 kB / 4.924 GB, free: 111.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009712/12.11, allocations: 0.714 MB / 4.925 GB, free: 110.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004562/12.11, allocations: 2.136 MB / 4.927 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/12.11, allocations: 8 kB / 4.927 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/12.11, allocations: 11.98 kB / 4.927 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/12.11, allocations: 115.8 kB / 4.927 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/12.11, allocations: 8 kB / 4.927 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/12.11, allocations: 87.75 kB / 4.927 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/12.11, allocations: 39.97 kB / 4.927 GB, free: 108.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/12.11, allocations: 1.25 kB / 4.927 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007715/12.11, allocations: 0.5693 MB / 4.927 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/12.11, allocations: 4 kB / 4.928 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/12.11, allocations: 8.109 kB / 4.928 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/12.11, allocations: 128.2 kB / 4.928 GB, free: 107.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/12.11, allocations: 11.94 kB / 4.928 GB, free: 107.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/12.11, allocations: 91.7 kB / 4.928 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/12.11, allocations: 24 kB / 4.928 GB, free: 107.5 MB / 1.167 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 () * Number of clocked 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.0005325/12.11, allocations: 468.7 kB / 4.928 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/12.11, allocations: 106.6 kB / 4.928 GB, free: 106.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/12.11, allocations: 0.531 MB / 4.929 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/12.11, allocations: 4 kB / 4.929 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/12.11, allocations: 0 / 4.929 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/12.11, allocations: 7.953 kB / 4.929 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/12.12, allocations: 1.467 MB / 4.93 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/12.12, allocations: 0 / 4.93 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/12.12, allocations: 71.83 kB / 4.93 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/12.12, allocations: 4 kB / 4.93 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/12.12, allocations: 15.98 kB / 4.93 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/12.12, allocations: 8.156 kB / 4.93 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/12.12, allocations: 8 kB / 4.93 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/12.12, allocations: 0.7351 MB / 4.931 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/12.12, allocations: 227.7 kB / 4.931 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/12.12, allocations: 8 kB / 4.931 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/12.12, allocations: 71.77 kB / 4.931 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/12.12, allocations: 31.91 kB / 4.931 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/12.12, allocations: 19.94 kB / 4.931 GB, free: 103.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008665/12.12, allocations: 0.8081 MB / 4.932 GB, free: 102.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/12.12, allocations: 0 / 4.932 GB, free: 102.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001557/12.12, allocations: 0.4919 MB / 4.933 GB, free: 102.2 MB / 1.167 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) * Number of clocked states: 0 () * 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.001357/12.12, allocations: 0.9742 MB / 4.934 GB, free: 101.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001256/12.12, allocations: 0.8659 MB / 4.934 GB, free: 100.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/12.12, allocations: 0 / 4.934 GB, free: 100.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/12.12, allocations: 229.8 kB / 4.935 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/12.13, allocations: 0.6296 MB / 4.935 GB, free: 99.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/12.13, allocations: 1.98 MB / 4.937 GB, free: 97.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/12.13, allocations: 1.201 MB / 4.938 GB, free: 96.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001104/12.13, allocations: 404.3 kB / 4.939 GB, free: 95.88 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/12.13, allocations: 79.42 kB / 4.939 GB, free: 95.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.01e-07/12.13, allocations: 4 kB / 4.939 GB, free: 95.79 MB / 1.167 GB Notification: Performance of Templates: time 0.0398/12.17, allocations: 29.96 MB / 4.968 GB, free: 66.03 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches