Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001213/0.001213, allocations: 187.7 kB / 0.4902 GB, free: 2.293 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.771/1.771, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001117/0.001117, allocations: 108.1 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004353, allocations: 14.31 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4413, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.117/5.559, allocations: 1.87 GB / 3.099 GB, free: 92.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.559, allocations: 95.94 kB / 3.099 GB, free: 92.65 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.647/12.21, allocations: 1.802 GB / 4.901 GB, free: 84.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.775e-06/12.21, allocations: 0 / 4.901 GB, free: 84.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001666/12.21, allocations: 31.92 kB / 4.901 GB, free: 84.12 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.004035/12.21, allocations: 1.417 MB / 4.903 GB, free: 82.64 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/12.21, allocations: 8.031 kB / 4.903 GB, free: 82.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/12.21, allocations: 186.5 kB / 4.903 GB, free: 82.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/12.21, allocations: 1.096 MB / 4.904 GB, free: 81.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/12.21, allocations: 45 kB / 4.904 GB, free: 81.25 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/12.21, allocations: 56 kB / 4.904 GB, free: 81.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/12.22, allocations: 0.7744 MB / 4.905 GB, free: 80.35 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/12.22, allocations: 3.938 kB / 4.905 GB, free: 80.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/12.22, allocations: 27.98 kB / 4.905 GB, free: 80.32 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/12.22, allocations: 16 kB / 4.905 GB, free: 80.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/12.22, allocations: 0.515 MB / 4.905 GB, free: 79.79 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.00435/12.22, allocations: 4.587 MB / 4.91 GB, free: 74.82 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/12.22, allocations: 426.4 kB / 4.91 GB, free: 74.39 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/12.22, allocations: 194.2 kB / 4.91 GB, free: 74.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/12.22, allocations: 295.2 kB / 4.911 GB, free: 73.85 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/12.22, allocations: 0 / 4.911 GB, free: 73.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.00141/12.22, allocations: 0.6433 MB / 4.911 GB, free: 73.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/12.22, allocations: 85.11 kB / 4.911 GB, free: 73.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/12.23, allocations: 0.9872 MB / 4.912 GB, free: 72.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/12.23, allocations: 37.64 kB / 4.912 GB, free: 72.06 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/12.23, allocations: 0.4926 MB / 4.913 GB, free: 71.56 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/12.23, allocations: 102.5 kB / 4.913 GB, free: 71.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/12.23, allocations: 12 kB / 4.913 GB, free: 71.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/12.23, allocations: 322 kB / 4.913 GB, free: 71.13 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/12.23, allocations: 192.7 kB / 4.913 GB, free: 70.94 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/12.23, allocations: 0.5014 MB / 4.914 GB, free: 70.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/12.23, allocations: 287.3 kB / 4.914 GB, free: 70.01 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/12.23, allocations: 4 kB / 4.914 GB, free: 70.01 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001011/12.23, allocations: 0.6827 MB / 4.915 GB, free: 69.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004441/12.23, allocations: 2.136 MB / 4.917 GB, free: 67.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/12.23, allocations: 4 kB / 4.917 GB, free: 67.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/12.23, allocations: 15.95 kB / 4.917 GB, free: 66.99 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/12.23, allocations: 111.8 kB / 4.917 GB, free: 66.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/12.23, allocations: 12 kB / 4.917 GB, free: 66.87 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/12.23, allocations: 107.3 kB / 4.917 GB, free: 66.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/12.23, allocations: 27.98 kB / 4.917 GB, free: 66.74 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/12.23, allocations: 4.938 kB / 4.917 GB, free: 66.73 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007036/12.23, allocations: 0.5365 MB / 4.918 GB, free: 66.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/12.23, allocations: 8 kB / 4.918 GB, free: 66.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/12.23, allocations: 12.03 kB / 4.918 GB, free: 66.17 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/12.23, allocations: 103.8 kB / 4.918 GB, free: 66.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/12.23, allocations: 8 kB / 4.918 GB, free: 66.06 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/12.23, allocations: 99.52 kB / 4.918 GB, free: 65.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/12.23, allocations: 20 kB / 4.918 GB, free: 65.95 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.0004885/12.23, allocations: 480.6 kB / 4.918 GB, free: 65.46 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/12.23, allocations: 98.78 kB / 4.919 GB, free: 65.37 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/12.23, allocations: 0.4911 MB / 4.919 GB, free: 64.87 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/12.23, allocations: 4 kB / 4.919 GB, free: 64.86 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/12.23, allocations: 4.375 kB / 4.919 GB, free: 64.86 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/12.23, allocations: 3.984 kB / 4.919 GB, free: 64.86 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/12.23, allocations: 1.392 MB / 4.92 GB, free: 63.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/12.23, allocations: 0 / 4.92 GB, free: 63.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/12.24, allocations: 68.11 kB / 4.92 GB, free: 63.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/12.24, allocations: 11.98 kB / 4.92 GB, free: 63.31 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/12.24, allocations: 8 kB / 4.921 GB, free: 63.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/12.24, allocations: 4 kB / 4.921 GB, free: 63.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/12.24, allocations: 11.89 kB / 4.921 GB, free: 63.29 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/12.24, allocations: 0.6817 MB / 4.921 GB, free: 62.53 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/12.24, allocations: 223.8 kB / 4.921 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/12.24, allocations: 11.95 kB / 4.921 GB, free: 62.28 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/12.24, allocations: 55.8 kB / 4.921 GB, free: 62.22 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/12.24, allocations: 39.89 kB / 4.921 GB, free: 62.18 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/12.24, allocations: 8 kB / 4.922 GB, free: 62.18 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007771/12.24, allocations: 0.7836 MB / 4.922 GB, free: 61.38 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/12.24, allocations: 0 / 4.922 GB, free: 61.38 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001394/12.24, allocations: 475.7 kB / 4.923 GB, free: 60.92 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.001213/12.24, allocations: 0.9052 MB / 4.924 GB, free: 60.02 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001191/12.24, allocations: 0.8017 MB / 4.924 GB, free: 59.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/12.24, allocations: 4.062 kB / 4.924 GB, free: 59.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/12.24, allocations: 207.6 kB / 4.925 GB, free: 58.99 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/12.24, allocations: 463.9 kB / 4.925 GB, free: 58.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/12.25, allocations: 1.954 MB / 4.927 GB, free: 56.53 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/12.25, allocations: 1.193 MB / 4.928 GB, free: 55.31 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001019/12.25, allocations: 423.6 kB / 4.929 GB, free: 54.89 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/12.25, allocations: 75.42 kB / 4.929 GB, free: 54.82 MB / 1.167 GB Notification: Performance of SimCode: time 8.41e-07/12.25, allocations: 0 / 4.929 GB, free: 54.82 MB / 1.167 GB Notification: Performance of Templates: time 0.03557/12.28, allocations: 26.74 MB / 4.955 GB, free: 28.25 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches