Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001539/0.001539, allocations: 165.2 kB / 498.1 MB, free: 5.746 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.731/1.731, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001067/0.001068, allocations: 109 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 11 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.655/5.016, allocations: 1.869 GB / 3.092 GB, free: 146.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/5.016, allocations: 99.62 kB / 3.092 GB, free: 146.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.176/11.19, allocations: 1.802 GB / 4.894 GB, free: 145.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.473e-06/11.19, allocations: 0 / 4.894 GB, free: 145.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001038/11.19, allocations: 31.98 kB / 4.894 GB, free: 145.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002754/11.19, allocations: 1.421 MB / 4.896 GB, free: 144.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/11.2, allocations: 8.031 kB / 4.896 GB, free: 144.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/11.2, allocations: 190.4 kB / 4.896 GB, free: 144.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/11.2, allocations: 1.096 MB / 4.897 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/11.2, allocations: 41 kB / 4.897 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/11.2, allocations: 67.98 kB / 4.897 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/11.2, allocations: 0.7693 MB / 4.898 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/11.2, allocations: 7.938 kB / 4.898 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/11.2, allocations: 20 kB / 4.898 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/11.2, allocations: 16 kB / 4.898 GB, free: 142 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/11.2, allocations: 0.5188 MB / 4.898 GB, free: 141.5 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.003896/11.2, allocations: 4.591 MB / 4.903 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/11.2, allocations: 418.5 kB / 4.903 GB, free: 136.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/11.2, allocations: 202.1 kB / 4.903 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/11.21, allocations: 290.7 kB / 4.904 GB, free: 135.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/11.21, allocations: 0 / 4.904 GB, free: 135.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001329/11.21, allocations: 0.6392 MB / 4.904 GB, free: 135 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/11.21, allocations: 85.09 kB / 4.904 GB, free: 134.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/11.21, allocations: 0.9834 MB / 4.905 GB, free: 133.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/11.21, allocations: 33.7 kB / 4.905 GB, free: 133.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/11.21, allocations: 0.4964 MB / 4.906 GB, free: 133.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/11.21, allocations: 110.5 kB / 4.906 GB, free: 133.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/11.21, allocations: 8 kB / 4.906 GB, free: 133.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001003/11.21, allocations: 329.9 kB / 4.906 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/11.21, allocations: 180.7 kB / 4.906 GB, free: 132.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/11.21, allocations: 0.5132 MB / 4.907 GB, free: 132 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/11.21, allocations: 287.3 kB / 4.907 GB, free: 131.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/11.21, allocations: 4 kB / 4.907 GB, free: 131.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009195/11.21, allocations: 0.6863 MB / 4.908 GB, free: 131 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007957/11.21, allocations: 2.121 MB / 4.91 GB, free: 128.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/11.21, allocations: 12 kB / 4.91 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/11.21, allocations: 11.98 kB / 4.91 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/11.21, allocations: 107.8 kB / 4.91 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/11.21, allocations: 15.92 kB / 4.91 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/11.21, allocations: 107.5 kB / 4.91 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/11.21, allocations: 27.98 kB / 4.91 GB, free: 128.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/11.21, allocations: 11.95 kB / 4.91 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007817/11.21, allocations: 0.5321 MB / 4.911 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/11.21, allocations: 4 kB / 4.911 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/11.21, allocations: 8 kB / 4.911 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/11.21, allocations: 112.5 kB / 4.911 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/11.21, allocations: 15.88 kB / 4.911 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/11.21, allocations: 91.53 kB / 4.911 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/11.21, allocations: 27.98 kB / 4.911 GB, free: 127.7 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 (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.0007198/11.22, allocations: 472.7 kB / 4.911 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/11.22, allocations: 98.73 kB / 4.911 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/11.22, allocations: 0.4989 MB / 4.912 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/11.22, allocations: 4 kB / 4.912 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/11.22, allocations: 0 / 4.912 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/11.22, allocations: 3.984 kB / 4.912 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/11.22, allocations: 1.387 MB / 4.913 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/11.22, allocations: 0 / 4.913 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/11.22, allocations: 68.27 kB / 4.913 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/11.22, allocations: 4 kB / 4.913 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/11.22, allocations: 11.98 kB / 4.913 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/11.22, allocations: 4 kB / 4.913 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/11.22, allocations: 4.203 kB / 4.913 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/11.22, allocations: 0.7018 MB / 4.914 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/11.22, allocations: 227.8 kB / 4.914 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/11.22, allocations: 11.98 kB / 4.914 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/11.22, allocations: 55.8 kB / 4.914 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/11.22, allocations: 31.91 kB / 4.914 GB, free: 123.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/11.22, allocations: 11.94 kB / 4.914 GB, free: 123.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007507/11.22, allocations: 0.7797 MB / 4.915 GB, free: 123.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/11.22, allocations: 0 / 4.915 GB, free: 123.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001274/11.22, allocations: 487.6 kB / 4.916 GB, free: 122.6 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 (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.001157/11.22, allocations: 0.8938 MB / 4.916 GB, free: 121.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001091/11.22, allocations: 0.8008 MB / 4.917 GB, free: 120.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/11.22, allocations: 1.312 kB / 4.917 GB, free: 120.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/11.22, allocations: 212.1 kB / 4.917 GB, free: 120.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/11.23, allocations: 458.8 kB / 4.918 GB, free: 120.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/11.23, allocations: 1.963 MB / 4.92 GB, free: 118.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/11.23, allocations: 1.197 MB / 4.921 GB, free: 117 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001205/11.23, allocations: 419.6 kB / 4.921 GB, free: 116.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/11.23, allocations: 71.42 kB / 4.921 GB, free: 116.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/11.23, allocations: 0 / 4.921 GB, free: 116.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03467/11.27, allocations: 26.73 MB / 4.948 GB, free: 89.99 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches