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.365/2.365, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001402/0.001402, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.801/1.801, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 98.02 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.303e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.678, allocations: 1.871 GB / 3.077 GB, free: 362.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.678, allocations: 89.58 kB / 3.077 GB, free: 362.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.213/8.891, allocations: 0.9703 GB / 4.047 GB, free: 344.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/8.891, allocations: 3.531 kB / 4.047 GB, free: 344.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001461/8.891, allocations: 27 kB / 4.047 GB, free: 344.7 MB / 1.151 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.002997/8.894, allocations: 1.151 MB / 4.049 GB, free: 343.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/8.894, allocations: 11.66 kB / 4.049 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/8.896, allocations: 188 kB / 4.049 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/8.899, allocations: 1.101 MB / 4.05 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/8.899, allocations: 16.52 kB / 4.05 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/8.9, allocations: 39.16 kB / 4.05 GB, free: 343.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001137/8.901, allocations: 470.9 kB / 4.05 GB, free: 343 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/8.902, allocations: 0.6689 MB / 4.051 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/8.902, allocations: 7.938 kB / 4.051 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/8.902, allocations: 6.719 kB / 4.051 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/8.902, allocations: 16 kB / 4.051 GB, free: 342.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00499/8.907, allocations: 4.464 MB / 4.055 GB, free: 337.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/8.908, allocations: 442.5 kB / 4.056 GB, free: 337.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/8.908, allocations: 239.8 kB / 4.056 GB, free: 336.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/8.909, allocations: 193.8 kB / 4.056 GB, free: 336.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/8.909, allocations: 274.4 kB / 4.056 GB, free: 336.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.955e-06/8.909, allocations: 0 / 4.056 GB, free: 336.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.002391/8.911, allocations: 0.743 MB / 4.057 GB, free: 335.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/8.912, allocations: 81.11 kB / 4.057 GB, free: 335.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/8.913, allocations: 0.8523 MB / 4.058 GB, free: 334.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/8.913, allocations: 29.7 kB / 4.058 GB, free: 334.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/8.914, allocations: 496 kB / 4.059 GB, free: 334.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/8.914, allocations: 109.3 kB / 4.059 GB, free: 334 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/8.914, allocations: 4 kB / 4.059 GB, free: 334 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/8.914, allocations: 325.9 kB / 4.059 GB, free: 333.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/8.914, allocations: 180.8 kB / 4.059 GB, free: 333.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/8.915, allocations: 0.4886 MB / 4.06 GB, free: 332.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/8.915, allocations: 259.8 kB / 4.06 GB, free: 332.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/8.915, allocations: 0 / 4.06 GB, free: 332.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002204/8.918, allocations: 0.8689 MB / 4.061 GB, free: 331.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005873/8.918, allocations: 2.131 MB / 4.063 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/8.918, allocations: 7.984 kB / 4.063 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/8.919, allocations: 246.7 kB / 4.063 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/8.919, allocations: 63.91 kB / 4.063 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/8.921, allocations: 1.183 MB / 4.064 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/8.923, allocations: 79.53 kB / 4.064 GB, free: 327.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/8.923, allocations: 39.94 kB / 4.064 GB, free: 327.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/8.923, allocations: 4 kB / 4.064 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/8.924, allocations: 0.5824 MB / 4.065 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/8.924, allocations: 8 kB / 4.065 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/8.925, allocations: 214.6 kB / 4.065 GB, free: 327 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/8.925, allocations: 55.91 kB / 4.065 GB, free: 327 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/8.93, allocations: 2.865 MB / 4.068 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/8.931, allocations: 79.67 kB / 4.068 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/8.931, allocations: 24 kB / 4.068 GB, free: 323.9 MB / 1.151 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 () * 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.0002839/8.932, allocations: 124.9 kB / 4.068 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/8.932, allocations: 102.7 kB / 4.068 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/8.934, allocations: 0.6347 MB / 4.069 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/8.934, allocations: 4 kB / 4.069 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/8.934, allocations: 0 / 4.069 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/8.934, allocations: 0 / 4.069 GB, free: 323 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/8.937, allocations: 1.472 MB / 4.07 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/8.937, allocations: 4 kB / 4.07 GB, free: 321.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/8.937, allocations: 19.98 kB / 4.07 GB, free: 321.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/8.937, allocations: 216 kB / 4.071 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/8.938, allocations: 4 kB / 4.071 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/8.939, allocations: 1.042 MB / 4.072 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/8.939, allocations: 0 / 4.072 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/8.94, allocations: 0.8546 MB / 4.072 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/8.941, allocations: 211.8 kB / 4.073 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/8.941, allocations: 7.953 kB / 4.073 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/8.942, allocations: 55.8 kB / 4.073 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/8.942, allocations: 27.95 kB / 4.073 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/8.942, allocations: 12 kB / 4.073 GB, free: 318.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001081/8.943, allocations: 0.6691 MB / 4.073 GB, free: 318.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/8.943, allocations: 0 / 4.073 GB, free: 318.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002287/8.946, allocations: 487.4 kB / 4.074 GB, free: 317.7 MB / 1.151 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) * 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.00187/8.947, allocations: 1.098 MB / 4.075 GB, free: 316.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00291/8.95, allocations: 1.115 MB / 4.076 GB, free: 315.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/8.95, allocations: 0 / 4.076 GB, free: 315.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/8.951, allocations: 248.1 kB / 4.076 GB, free: 315.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/8.954, allocations: 393.1 kB / 4.077 GB, free: 315 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/8.957, allocations: 1.321 MB / 4.078 GB, free: 313.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/8.958, allocations: 1.206 MB / 4.079 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003004/8.961, allocations: 0.6744 MB / 4.08 GB, free: 311.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/8.961, allocations: 39.44 kB / 4.08 GB, free: 311.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.543e-06/8.961, allocations: 0 / 4.08 GB, free: 311.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04358/9.005, allocations: 22.1 MB / 4.101 GB, free: 289.8 MB / 1.151 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