Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.549/2.549, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00127/0.00127, allocations: 185 kB / 498.1 MB, free: 5.754 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.743/1.743, 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.001046/0.001046, allocations: 94.34 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3834, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.975/5.358, allocations: 1.872 GB / 3.095 GB, free: 115 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/5.359, allocations: 95.19 kB / 3.095 GB, free: 114.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.356/11.71, allocations: 1.814 GB / 4.909 GB, free: 109.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/11.71, allocations: 0 / 4.909 GB, free: 109.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001018/11.71, allocations: 31.98 kB / 4.909 GB, free: 109.6 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.002953/11.72, allocations: 1.437 MB / 4.91 GB, free: 108.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/11.72, allocations: 8.031 kB / 4.91 GB, free: 108.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/11.72, allocations: 182.5 kB / 4.91 GB, free: 107.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/11.72, allocations: 1.116 MB / 4.912 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/11.72, allocations: 48.95 kB / 4.912 GB, free: 106.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/11.72, allocations: 60 kB / 4.912 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/11.72, allocations: 0.7576 MB / 4.912 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/11.72, allocations: 7.938 kB / 4.912 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/11.72, allocations: 20 kB / 4.912 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/11.72, allocations: 16 kB / 4.912 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/11.72, allocations: 0.5188 MB / 4.913 GB, free: 105.3 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.00371/11.73, allocations: 4.587 MB / 4.917 GB, free: 100.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/11.73, allocations: 418.4 kB / 4.918 GB, free: 99.86 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/11.73, allocations: 194.2 kB / 4.918 GB, free: 99.63 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/11.73, allocations: 290.4 kB / 4.918 GB, free: 99.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/11.73, allocations: 0 / 4.918 GB, free: 99.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.00286/11.73, allocations: 1.222 MB / 4.919 GB, free: 98.08 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/11.73, allocations: 85.09 kB / 4.92 GB, free: 97.98 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/11.73, allocations: 0.9914 MB / 4.921 GB, free: 96.97 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/11.73, allocations: 41.7 kB / 4.921 GB, free: 96.93 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/11.73, allocations: 492.4 kB / 4.921 GB, free: 96.44 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/11.73, allocations: 114.5 kB / 4.921 GB, free: 96.32 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/11.73, allocations: 8 kB / 4.921 GB, free: 96.32 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/11.73, allocations: 326 kB / 4.921 GB, free: 95.99 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/11.73, allocations: 180.7 kB / 4.922 GB, free: 95.82 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/11.73, allocations: 0.5124 MB / 4.922 GB, free: 95.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/11.73, allocations: 288.1 kB / 4.922 GB, free: 94.88 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/11.73, allocations: 224 / 4.922 GB, free: 94.88 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001251/11.73, allocations: 0.9 MB / 4.923 GB, free: 93.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004543/11.74, allocations: 2.136 MB / 4.925 GB, free: 91.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/11.74, allocations: 4 kB / 4.925 GB, free: 91.65 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/11.74, allocations: 236.5 kB / 4.926 GB, free: 91.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/11.74, allocations: 67.84 kB / 4.926 GB, free: 91.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/11.74, allocations: 1.006 MB / 4.927 GB, free: 90.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/11.74, allocations: 107.5 kB / 4.927 GB, free: 90.21 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/11.74, allocations: 27.98 kB / 4.927 GB, free: 90.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/11.74, allocations: 4 kB / 4.927 GB, free: 90.18 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/11.74, allocations: 0.7239 MB / 4.927 GB, free: 89.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/11.74, allocations: 4.625 kB / 4.927 GB, free: 89.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/11.74, allocations: 213.6 kB / 4.928 GB, free: 89.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/11.74, allocations: 63.91 kB / 4.928 GB, free: 89.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/11.74, allocations: 3.161 MB / 4.931 GB, free: 85.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/11.74, allocations: 99.59 kB / 4.931 GB, free: 85.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/11.74, allocations: 23.97 kB / 4.931 GB, free: 85.74 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 (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000677/11.74, allocations: 472.6 kB / 4.931 GB, free: 85.27 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/11.74, allocations: 98.78 kB / 4.931 GB, free: 85.17 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/11.75, allocations: 0.7216 MB / 4.932 GB, free: 84.43 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/11.75, allocations: 4 kB / 4.932 GB, free: 84.43 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/11.75, allocations: 0 / 4.932 GB, free: 84.43 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/11.75, allocations: 0 / 4.932 GB, free: 84.43 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/11.75, allocations: 1.595 MB / 4.934 GB, free: 82.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/11.75, allocations: 4 kB / 4.934 GB, free: 82.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/11.75, allocations: 32.14 kB / 4.934 GB, free: 82.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/11.75, allocations: 224.5 kB / 4.934 GB, free: 82.49 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/11.75, allocations: 11.98 kB / 4.934 GB, free: 82.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006926/11.75, allocations: 0.9708 MB / 4.935 GB, free: 81.48 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/11.75, allocations: 8.062 kB / 4.935 GB, free: 81.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/11.75, allocations: 0.9236 MB / 4.936 GB, free: 80.47 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/11.75, allocations: 223.8 kB / 4.936 GB, free: 80.23 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/11.75, allocations: 15.89 kB / 4.936 GB, free: 80.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/11.75, allocations: 59.78 kB / 4.936 GB, free: 80.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/11.75, allocations: 23.97 kB / 4.936 GB, free: 80.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/11.75, allocations: 15.98 kB / 4.936 GB, free: 80.12 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009021/11.75, allocations: 0.7799 MB / 4.937 GB, free: 79.33 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/11.75, allocations: 0 / 4.937 GB, free: 79.33 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001664/11.75, allocations: 0.5075 MB / 4.937 GB, free: 78.82 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/11.76, allocations: 0.9688 MB / 4.938 GB, free: 77.87 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001829/11.76, allocations: 1.054 MB / 4.939 GB, free: 76.78 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/11.76, allocations: 0 / 4.939 GB, free: 76.78 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/11.76, allocations: 231.1 kB / 4.94 GB, free: 76.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/11.76, allocations: 459.4 kB / 4.94 GB, free: 76.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/11.76, allocations: 1.98 MB / 4.942 GB, free: 74.06 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/11.76, allocations: 1.208 MB / 4.943 GB, free: 72.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009611/11.76, allocations: 319.8 kB / 4.944 GB, free: 72.51 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/11.76, allocations: 59.44 kB / 4.944 GB, free: 72.45 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/11.76, allocations: 0 / 4.944 GB, free: 72.45 MB / 1.167 GB Notification: Performance of Templates: time 0.04043/11.8, allocations: 29.72 MB / 4.973 GB, free: 42.92 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches