Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.714/2.714, 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.00133/0.00133, allocations: 179 kB / 498.1 MB, free: 5.742 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.666/1.666, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.00115/0.00115, allocations: 103.9 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005109, allocations: 11.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3568, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/5.21, allocations: 1.869 GB / 3.092 GB, free: 146.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/5.21, allocations: 96.78 kB / 3.092 GB, free: 146.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.629/8.84, allocations: 0.9687 GB / 4.061 GB, free: 76.47 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.564e-06/8.84, allocations: 0 / 4.061 GB, free: 76.47 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001853/8.84, allocations: 27.98 kB / 4.061 GB, free: 76.45 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.005796/8.846, allocations: 1.511 MB / 4.062 GB, free: 74.87 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/8.846, allocations: 8.031 kB / 4.062 GB, free: 74.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/8.847, allocations: 182.5 kB / 4.063 GB, free: 74.68 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/8.851, allocations: 1.404 MB / 4.064 GB, free: 73.22 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/8.852, allocations: 41 kB / 4.064 GB, free: 73.18 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/8.852, allocations: 60 kB / 4.064 GB, free: 73.12 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/8.853, allocations: 0.7888 MB / 4.065 GB, free: 72.26 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/8.853, allocations: 4 kB / 4.065 GB, free: 72.26 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/8.853, allocations: 27.94 kB / 4.065 GB, free: 72.23 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/8.853, allocations: 12 kB / 4.065 GB, free: 72.22 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009265/8.854, allocations: 0.5384 MB / 4.065 GB, free: 71.68 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.004419/8.859, allocations: 4.228 MB / 4.07 GB, free: 67.19 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/8.859, allocations: 445.3 kB / 4.07 GB, free: 66.74 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/8.86, allocations: 190.2 kB / 4.07 GB, free: 66.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/8.86, allocations: 322.9 kB / 4.07 GB, free: 66.18 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004948/8.861, allocations: 35.69 kB / 4.07 GB, free: 66.15 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.075e-06/8.861, allocations: 0 / 4.07 GB, free: 66.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003895/8.865, allocations: 1.366 MB / 4.072 GB, free: 64.75 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/8.865, allocations: 81.11 kB / 4.072 GB, free: 64.66 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/8.866, allocations: 1.02 MB / 4.073 GB, free: 63.62 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/8.867, allocations: 41.7 kB / 4.073 GB, free: 63.57 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/8.867, allocations: 492.7 kB / 4.073 GB, free: 63.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/8.867, allocations: 118.4 kB / 4.073 GB, free: 62.97 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/8.867, allocations: 8 kB / 4.073 GB, free: 62.96 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/8.867, allocations: 325.9 kB / 4.074 GB, free: 62.64 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/8.868, allocations: 209 kB / 4.074 GB, free: 62.43 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/8.868, allocations: 0.5217 MB / 4.075 GB, free: 61.77 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/8.869, allocations: 315.5 kB / 4.075 GB, free: 61.45 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/8.869, allocations: 4.109 kB / 4.075 GB, free: 61.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001596/8.87, allocations: 0.9686 MB / 4.076 GB, free: 60.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00056/8.871, allocations: 2.134 MB / 4.078 GB, free: 58.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/8.871, allocations: 8 kB / 4.078 GB, free: 58.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/8.871, allocations: 299.5 kB / 4.078 GB, free: 57.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/8.872, allocations: 71.84 kB / 4.078 GB, free: 57.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/8.873, allocations: 1.099 MB / 4.079 GB, free: 56.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/8.874, allocations: 91.75 kB / 4.079 GB, free: 56.58 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/8.874, allocations: 28 kB / 4.079 GB, free: 56.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/8.874, allocations: 4.938 kB / 4.079 GB, free: 56.55 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001339/8.876, allocations: 0.7845 MB / 4.08 GB, free: 55.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/8.876, allocations: 4 kB / 4.08 GB, free: 55.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/8.876, allocations: 234.2 kB / 4.08 GB, free: 55.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/8.876, allocations: 75.72 kB / 4.08 GB, free: 55.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/8.88, allocations: 3.078 MB / 4.083 GB, free: 52.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/8.881, allocations: 95.8 kB / 4.084 GB, free: 52.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/8.882, allocations: 24 kB / 4.084 GB, free: 52.12 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008759/8.882, allocations: 468.7 kB / 4.084 GB, free: 51.65 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/8.883, allocations: 98.78 kB / 4.084 GB, free: 51.55 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/8.884, allocations: 0.7888 MB / 4.085 GB, free: 50.75 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/8.884, allocations: 0 / 4.085 GB, free: 50.75 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/8.884, allocations: 7.938 kB / 4.085 GB, free: 50.74 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/8.884, allocations: 3.984 kB / 4.085 GB, free: 50.73 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/8.888, allocations: 1.714 MB / 4.087 GB, free: 48.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/8.888, allocations: 8.031 kB / 4.087 GB, free: 48.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/8.888, allocations: 31.97 kB / 4.087 GB, free: 48.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/8.888, allocations: 275.6 kB / 4.087 GB, free: 48.63 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/8.889, allocations: 8 kB / 4.087 GB, free: 48.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/8.89, allocations: 1.034 MB / 4.088 GB, free: 47.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/8.89, allocations: 8.031 kB / 4.088 GB, free: 47.56 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/8.891, allocations: 0.9891 MB / 4.089 GB, free: 46.49 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/8.892, allocations: 231.7 kB / 4.089 GB, free: 46.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/8.892, allocations: 11.94 kB / 4.089 GB, free: 46.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/8.893, allocations: 67.77 kB / 4.089 GB, free: 46.17 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/8.893, allocations: 47.78 kB / 4.089 GB, free: 46.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/8.893, allocations: 12 kB / 4.089 GB, free: 46.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001474/8.895, allocations: 0.804 MB / 4.09 GB, free: 45.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/8.895, allocations: 0 / 4.09 GB, free: 45.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003089/8.898, allocations: 0.5348 MB / 4.091 GB, free: 44.76 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/8.9, allocations: 0.9047 MB / 4.091 GB, free: 43.86 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00313/8.903, allocations: 1.247 MB / 4.093 GB, free: 42.58 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/8.903, allocations: 0 / 4.093 GB, free: 42.58 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/8.904, allocations: 300.9 kB / 4.093 GB, free: 42.29 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/8.908, allocations: 0.6254 MB / 4.094 GB, free: 41.67 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/8.913, allocations: 2.094 MB / 4.096 GB, free: 39.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/8.914, allocations: 1.205 MB / 4.097 GB, free: 38.29 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001566/8.916, allocations: 320.4 kB / 4.097 GB, free: 37.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/8.916, allocations: 63.44 kB / 4.097 GB, free: 37.91 MB / 1.167 GB Notification: Performance of SimCode: time 3.056e-06/8.916, allocations: 0 / 4.097 GB, free: 37.91 MB / 1.167 GB Notification: Performance of Templates: time 0.04803/8.964, allocations: 31.1 MB / 4.128 GB, free: 6.98 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches