Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001002/0.001002, allocations: 180.9 kB / 487.4 MB, free: 5.043 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.586/1.586, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009367/0.0009366, allocations: 91.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.11e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3503, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/5.827, allocations: 1.868 GB / 3.074 GB, free: 12.68 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/5.828, allocations: 91.94 kB / 3.075 GB, free: 12.59 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.249/10.08, allocations: 0.9583 GB / 4.033 GB, free: 370.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.423e-06/10.08, allocations: 0 / 4.033 GB, free: 370.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.788e-05/10.08, allocations: 28.19 kB / 4.033 GB, free: 370.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001715/10.08, allocations: 1.144 MB / 4.034 GB, free: 369.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/10.08, allocations: 10.97 kB / 4.034 GB, free: 369.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/10.08, allocations: 181.1 kB / 4.034 GB, free: 369.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/10.08, allocations: 1.087 MB / 4.035 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/10.08, allocations: 18.91 kB / 4.035 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/10.08, allocations: 36.94 kB / 4.035 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006272/10.08, allocations: 468.7 kB / 4.036 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/10.08, allocations: 0.671 MB / 4.036 GB, free: 369 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/10.08, allocations: 6.719 kB / 4.036 GB, free: 369 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/10.08, allocations: 7.891 kB / 4.036 GB, free: 369 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/10.08, allocations: 10.41 kB / 4.036 GB, free: 369 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.002881/10.09, allocations: 4.466 MB / 4.041 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/10.09, allocations: 440.9 kB / 4.041 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/10.09, allocations: 235.8 kB / 4.041 GB, free: 365.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/10.09, allocations: 194.8 kB / 4.042 GB, free: 365.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/10.09, allocations: 270.5 kB / 4.042 GB, free: 365.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/10.09, allocations: 0 / 4.042 GB, free: 365.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008526/10.09, allocations: 490.1 kB / 4.042 GB, free: 365.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/10.09, allocations: 89.3 kB / 4.042 GB, free: 365.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/10.09, allocations: 0.8495 MB / 4.043 GB, free: 365.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/10.09, allocations: 28.77 kB / 4.043 GB, free: 365 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/10.09, allocations: 495.2 kB / 4.044 GB, free: 364.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/10.09, allocations: 103.9 kB / 4.044 GB, free: 364.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/10.09, allocations: 0 / 4.044 GB, free: 364.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/10.09, allocations: 327.2 kB / 4.044 GB, free: 364.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/10.09, allocations: 180.4 kB / 4.044 GB, free: 364.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/10.09, allocations: 0.4935 MB / 4.045 GB, free: 364.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/10.09, allocations: 261.9 kB / 4.045 GB, free: 364.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/10.09, allocations: 3.312 kB / 4.045 GB, free: 364.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000781/10.09, allocations: 0.6048 MB / 4.046 GB, free: 364.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004187/10.09, allocations: 2.14 MB / 4.048 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/10.09, allocations: 5.719 kB / 4.048 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/10.09, allocations: 8.406 kB / 4.048 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/10.09, allocations: 298.9 kB / 4.048 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/10.1, allocations: 6.195 MB / 4.054 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/10.1, allocations: 80.72 kB / 4.054 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/10.1, allocations: 29.64 kB / 4.054 GB, free: 356 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/10.1, allocations: 3.656 kB / 4.054 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005373/10.1, allocations: 413.8 kB / 4.055 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/10.1, allocations: 9.734 kB / 4.055 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/10.1, allocations: 10.91 kB / 4.055 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/10.1, allocations: 146.8 kB / 4.055 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/10.1, allocations: 10.75 kB / 4.055 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/10.1, allocations: 87.77 kB / 4.055 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/10.1, allocations: 22.41 kB / 4.055 GB, free: 355.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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/10.1, allocations: 119.1 kB / 4.055 GB, free: 355.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/10.1, allocations: 102.3 kB / 4.055 GB, free: 355.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/10.1, allocations: 438.7 kB / 4.055 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/10.1, allocations: 7.531 kB / 4.055 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/10.1, allocations: 3.844 kB / 4.055 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/10.1, allocations: 0 / 4.055 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/10.1, allocations: 1.264 MB / 4.057 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/10.1, allocations: 0 / 4.057 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/10.1, allocations: 157.3 kB / 4.057 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/10.1, allocations: 3.938 kB / 4.057 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/10.1, allocations: 5.844 kB / 4.057 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/10.1, allocations: 6.035 MB / 4.063 GB, free: 349.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/10.1, allocations: 7.094 kB / 4.063 GB, free: 349.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/10.1, allocations: 0.6242 MB / 4.063 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/10.1, allocations: 214.2 kB / 4.064 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/10.1, allocations: 7.25 kB / 4.064 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/10.1, allocations: 45.69 kB / 4.064 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/10.1, allocations: 36.28 kB / 4.064 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/10.1, allocations: 13.94 kB / 4.064 GB, free: 348.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006748/10.11, allocations: 0.6667 MB / 4.064 GB, free: 348.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/10.11, allocations: 0 / 4.064 GB, free: 348.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001318/10.11, allocations: 454.1 kB / 4.065 GB, free: 348.1 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/10.11, allocations: 1.037 MB / 4.066 GB, free: 347.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002245/10.11, allocations: 0.9381 MB / 4.067 GB, free: 347.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/10.11, allocations: 0 / 4.067 GB, free: 347.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/10.11, allocations: 250 kB / 4.067 GB, free: 347.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/10.11, allocations: 391.3 kB / 4.067 GB, free: 347.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/10.11, allocations: 1.336 MB / 4.069 GB, free: 346.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/10.11, allocations: 1.2 MB / 4.07 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001726/10.12, allocations: 0.747 MB / 4.071 GB, free: 346.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/10.12, allocations: 49.06 kB / 4.071 GB, free: 346.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/10.12, allocations: 0 / 4.071 GB, free: 346.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03041/10.15, allocations: 20.65 MB / 4.091 GB, free: 338.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches