Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.343/2.343, allocations: 393.5 MB / 408.4 MB, free: 11 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.001136/0.001136, allocations: 180 kB / 0.4902 GB, free: 2.238 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.554/1.554, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.0009422/0.0009422, allocations: 98.52 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 11.62 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.341, allocations: 1.87 GB / 3.099 GB, free: 82.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004381/5.342, allocations: 99.33 kB / 3.099 GB, free: 82.85 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.826/12.17, allocations: 1.804 GB / 4.903 GB, free: 75.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.984e-06/12.17, allocations: 0 / 4.903 GB, free: 75.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001016/12.17, allocations: 31.98 kB / 4.903 GB, free: 75.67 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.004317/12.17, allocations: 1.511 MB / 4.905 GB, free: 74.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/12.17, allocations: 12.83 kB / 4.905 GB, free: 74.09 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/12.17, allocations: 182.5 kB / 4.905 GB, free: 73.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/12.18, allocations: 1.4 MB / 4.906 GB, free: 72.45 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/12.18, allocations: 45 kB / 4.906 GB, free: 72.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/12.18, allocations: 60 kB / 4.906 GB, free: 72.35 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/12.18, allocations: 0.7979 MB / 4.907 GB, free: 71.47 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/12.18, allocations: 11.92 kB / 4.907 GB, free: 71.46 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/12.18, allocations: 20 kB / 4.907 GB, free: 71.44 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/12.18, allocations: 16 kB / 4.907 GB, free: 71.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/12.18, allocations: 0.5422 MB / 4.908 GB, free: 70.88 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.003201/12.18, allocations: 4.215 MB / 4.912 GB, free: 66.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/12.18, allocations: 446.2 kB / 4.912 GB, free: 65.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/12.18, allocations: 194.1 kB / 4.912 GB, free: 65.73 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/12.18, allocations: 319.1 kB / 4.913 GB, free: 65.39 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002952/12.18, allocations: 43.59 kB / 4.913 GB, free: 65.35 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/12.18, allocations: 0 / 4.913 GB, free: 65.35 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003146/12.19, allocations: 1.362 MB / 4.914 GB, free: 63.96 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/12.19, allocations: 85.11 kB / 4.914 GB, free: 63.86 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/12.19, allocations: 1.016 MB / 4.915 GB, free: 62.83 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/12.19, allocations: 41.7 kB / 4.915 GB, free: 62.78 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/12.19, allocations: 484.8 kB / 4.916 GB, free: 62.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/12.19, allocations: 118.4 kB / 4.916 GB, free: 62.19 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/12.19, allocations: 12 kB / 4.916 GB, free: 62.18 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.828e-05/12.19, allocations: 325.9 kB / 4.916 GB, free: 61.85 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/12.19, allocations: 209 kB / 4.916 GB, free: 61.65 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/12.19, allocations: 0.5185 MB / 4.917 GB, free: 60.98 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/12.19, allocations: 324.5 kB / 4.917 GB, free: 60.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/12.19, allocations: 0 / 4.917 GB, free: 60.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001349/12.19, allocations: 0.9529 MB / 4.918 GB, free: 59.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004153/12.19, allocations: 2.135 MB / 4.92 GB, free: 57.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/12.19, allocations: 8 kB / 4.92 GB, free: 57.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/12.19, allocations: 244.6 kB / 4.92 GB, free: 57.15 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/12.19, allocations: 75.94 kB / 4.92 GB, free: 57.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008276/12.19, allocations: 1.034 MB / 4.921 GB, free: 56.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/12.19, allocations: 87.81 kB / 4.921 GB, free: 55.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/12.19, allocations: 24 kB / 4.921 GB, free: 55.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/12.19, allocations: 4 kB / 4.921 GB, free: 55.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001222/12.19, allocations: 0.781 MB / 4.922 GB, free: 55.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/12.19, allocations: 4 kB / 4.922 GB, free: 55.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/12.2, allocations: 246.1 kB / 4.922 GB, free: 54.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/12.2, allocations: 79.89 kB / 4.923 GB, free: 54.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/12.2, allocations: 3.051 MB / 4.926 GB, free: 51.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/12.2, allocations: 91.81 kB / 4.926 GB, free: 51.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/12.2, allocations: 23.98 kB / 4.926 GB, free: 51.49 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006124/12.2, allocations: 472.7 kB / 4.926 GB, free: 51.02 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/12.2, allocations: 106.7 kB / 4.926 GB, free: 50.91 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/12.2, allocations: 0.7928 MB / 4.927 GB, free: 50.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/12.2, allocations: 4 kB / 4.927 GB, free: 50.09 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/12.2, allocations: 0 / 4.927 GB, free: 50.09 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/12.2, allocations: 0 / 4.927 GB, free: 50.09 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/12.2, allocations: 1.725 MB / 4.929 GB, free: 48.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/12.2, allocations: 0 / 4.929 GB, free: 48.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/12.2, allocations: 27.98 kB / 4.929 GB, free: 48.26 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/12.21, allocations: 246.6 kB / 4.929 GB, free: 48.02 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/12.21, allocations: 15.94 kB / 4.929 GB, free: 48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000847/12.21, allocations: 0.9894 MB / 4.93 GB, free: 46.98 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/12.21, allocations: 3.938 kB / 4.93 GB, free: 46.98 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/12.21, allocations: 0.9868 MB / 4.931 GB, free: 45.92 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005704/12.21, allocations: 223.8 kB / 4.931 GB, free: 45.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/12.21, allocations: 8 kB / 4.931 GB, free: 45.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/12.21, allocations: 71.77 kB / 4.931 GB, free: 45.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/12.21, allocations: 39.84 kB / 4.931 GB, free: 45.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/12.21, allocations: 11.94 kB / 4.931 GB, free: 45.55 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009582/12.21, allocations: 0.808 MB / 4.932 GB, free: 44.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1e-07/12.21, allocations: 4 kB / 4.932 GB, free: 44.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001677/12.21, allocations: 0.5309 MB / 4.933 GB, free: 44.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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/12.21, allocations: 0.9121 MB / 4.933 GB, free: 43.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001912/12.21, allocations: 1.105 MB / 4.934 GB, free: 42.16 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/12.21, allocations: 4 kB / 4.934 GB, free: 42.16 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/12.22, allocations: 251 kB / 4.935 GB, free: 41.91 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/12.22, allocations: 0.6279 MB / 4.935 GB, free: 41.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/12.22, allocations: 1.981 MB / 4.937 GB, free: 39.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/12.22, allocations: 1.212 MB / 4.938 GB, free: 38.01 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001028/12.22, allocations: 312.4 kB / 4.939 GB, free: 37.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/12.22, allocations: 67.42 kB / 4.939 GB, free: 37.64 MB / 1.167 GB Notification: Performance of SimCode: time 1.362e-06/12.22, allocations: 3.938 kB / 4.939 GB, free: 37.63 MB / 1.167 GB Notification: Performance of Templates: time 0.04447/12.27, allocations: 31.41 MB / 4.969 GB, free: 6.426 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches