Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001271/0.001271, allocations: 181 kB / 498.1 MB, free: 5.68 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.806/1.806, allocations: 223.2 MB / 0.7949 GB, free: 18.83 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.001199/0.001199, allocations: 108.1 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 11.44 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.225, allocations: 1.872 GB / 3.095 GB, free: 109.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/5.225, allocations: 93.55 kB / 3.095 GB, free: 109.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.666/8.891, allocations: 0.9813 GB / 4.076 GB, free: 29.51 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/8.891, allocations: 0 / 4.076 GB, free: 29.51 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001727/8.891, allocations: 27.98 kB / 4.076 GB, free: 29.48 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.004058/8.896, allocations: 1.441 MB / 4.077 GB, free: 27.98 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/8.896, allocations: 8.031 kB / 4.077 GB, free: 27.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/8.897, allocations: 182.5 kB / 4.078 GB, free: 27.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/8.9, allocations: 1.124 MB / 4.079 GB, free: 26.62 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/8.9, allocations: 45 kB / 4.079 GB, free: 26.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/8.9, allocations: 63.94 kB / 4.079 GB, free: 26.51 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/8.901, allocations: 0.7654 MB / 4.08 GB, free: 25.67 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/8.901, allocations: 0 / 4.08 GB, free: 25.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/8.901, allocations: 20 kB / 4.08 GB, free: 25.65 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/8.901, allocations: 12 kB / 4.08 GB, free: 25.64 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/8.902, allocations: 0.5189 MB / 4.08 GB, free: 25.12 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.004287/8.906, allocations: 4.591 MB / 4.085 GB, free: 20.14 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/8.907, allocations: 427.2 kB / 4.085 GB, free: 19.71 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/8.907, allocations: 190.1 kB / 4.085 GB, free: 19.49 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/8.908, allocations: 299.2 kB / 4.085 GB, free: 19.18 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/8.908, allocations: 0 / 4.085 GB, free: 19.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.003148/8.911, allocations: 1.296 MB / 4.087 GB, free: 17.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/8.911, allocations: 89.03 kB / 4.087 GB, free: 17.75 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/8.912, allocations: 0.9876 MB / 4.088 GB, free: 16.75 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/8.912, allocations: 41.7 kB / 4.088 GB, free: 16.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/8.913, allocations: 0.4886 MB / 4.088 GB, free: 16.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/8.913, allocations: 106.5 kB / 4.088 GB, free: 16.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/8.913, allocations: 8 kB / 4.088 GB, free: 16.09 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/8.913, allocations: 322 kB / 4.089 GB, free: 15.77 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/8.913, allocations: 180.7 kB / 4.089 GB, free: 15.59 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/8.914, allocations: 0.5085 MB / 4.089 GB, free: 14.94 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/8.914, allocations: 292.2 kB / 4.09 GB, free: 14.65 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/8.914, allocations: 0 / 4.09 GB, free: 14.65 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00137/8.915, allocations: 0.9052 MB / 4.091 GB, free: 13.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005397/8.916, allocations: 2.127 MB / 4.093 GB, free: 11.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/8.916, allocations: 12 kB / 4.093 GB, free: 11.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/8.917, allocations: 258.5 kB / 4.093 GB, free: 11.17 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/8.917, allocations: 71.84 kB / 4.093 GB, free: 11.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/8.918, allocations: 1.089 MB / 4.094 GB, free: 9.988 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/8.919, allocations: 103.4 kB / 4.094 GB, free: 9.887 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/8.919, allocations: 28.17 kB / 4.094 GB, free: 9.859 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/8.919, allocations: 4.625 kB / 4.094 GB, free: 9.855 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/8.92, allocations: 0.7206 MB / 4.095 GB, free: 9.125 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/8.92, allocations: 4 kB / 4.095 GB, free: 9.121 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/8.921, allocations: 217.9 kB / 4.095 GB, free: 8.906 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/8.921, allocations: 63.91 kB / 4.095 GB, free: 8.844 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/8.924, allocations: 3.053 MB / 4.098 GB, free: 5.652 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/8.925, allocations: 91.59 kB / 4.098 GB, free: 5.562 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/8.925, allocations: 28 kB / 4.098 GB, free: 5.535 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005792/8.926, allocations: 472.6 kB / 4.099 GB, free: 5.062 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/8.926, allocations: 98.73 kB / 4.099 GB, free: 4.965 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/8.927, allocations: 0.7103 MB / 4.099 GB, free: 4.242 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/8.927, allocations: 8 kB / 4.099 GB, free: 4.234 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/8.927, allocations: 0 / 4.099 GB, free: 4.234 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/8.927, allocations: 4 kB / 4.099 GB, free: 4.23 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/8.929, allocations: 1.609 MB / 4.101 GB, free: 2.543 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/8.929, allocations: 0 / 4.101 GB, free: 2.543 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/8.93, allocations: 27.92 kB / 4.101 GB, free: 2.516 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/8.93, allocations: 242.6 kB / 4.101 GB, free: 2.277 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/8.93, allocations: 8 kB / 4.101 GB, free: 2.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/8.931, allocations: 1.025 MB / 4.102 GB, free: 1.219 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/8.931, allocations: 7.953 kB / 4.102 GB, free: 1.211 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/8.932, allocations: 0.9046 MB / 4.103 GB, free: 232 kB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7852/9.717, allocations: 226.3 kB / 4.103 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/9.718, allocations: 8.281 kB / 4.103 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/9.718, allocations: 58.66 kB / 4.103 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/9.719, allocations: 28.09 kB / 4.104 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/9.719, allocations: 14.23 kB / 4.104 GB, free: 369.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001484/9.72, allocations: 0.7839 MB / 4.104 GB, free: 369.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/9.72, allocations: 0.5312 kB / 4.104 GB, free: 369.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002118/9.722, allocations: 0.5126 MB / 4.105 GB, free: 369.7 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002668/9.725, allocations: 0.9758 MB / 4.106 GB, free: 369.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003645/9.729, allocations: 1.175 MB / 4.107 GB, free: 369.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/9.729, allocations: 1.25 kB / 4.107 GB, free: 369.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/9.73, allocations: 286.5 kB / 4.107 GB, free: 369.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/9.732, allocations: 457.8 kB / 4.108 GB, free: 369.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/9.736, allocations: 2.011 MB / 4.11 GB, free: 368.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/9.737, allocations: 1.204 MB / 4.111 GB, free: 367.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001335/9.738, allocations: 323.2 kB / 4.111 GB, free: 367.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/9.738, allocations: 62.44 kB / 4.111 GB, free: 367.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/9.738, allocations: 0 / 4.111 GB, free: 367.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0591/9.798, allocations: 29.31 MB / 4.14 GB, free: 367.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches