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.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.001304/0.001304, allocations: 177 kB / 498.1 MB, free: 5.66 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.744/1.744, allocations: 223.2 MB / 0.7948 GB, free: 18.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.001125/0.001124, allocations: 94.97 kB / 0.9346 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 10.64 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3652, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.927/5.293, allocations: 1.869 GB / 3.092 GB, free: 111.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/5.293, allocations: 96.88 kB / 3.092 GB, free: 111.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.315/8.608, allocations: 0.9692 GB / 4.061 GB, free: 44.16 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.745e-06/8.608, allocations: 0 / 4.061 GB, free: 44.16 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000176/8.608, allocations: 27.98 kB / 4.061 GB, free: 44.13 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.004157/8.612, allocations: 1.43 MB / 4.063 GB, free: 42.64 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/8.612, allocations: 16.02 kB / 4.063 GB, free: 42.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/8.613, allocations: 178.5 kB / 4.063 GB, free: 42.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/8.616, allocations: 1.088 MB / 4.064 GB, free: 41.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/8.616, allocations: 49 kB / 4.064 GB, free: 41.25 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/8.617, allocations: 63.94 kB / 4.064 GB, free: 41.19 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/8.618, allocations: 0.7576 MB / 4.065 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/8.618, allocations: 11.94 kB / 4.065 GB, free: 40.35 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/8.618, allocations: 24 kB / 4.065 GB, free: 40.32 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/8.618, allocations: 12 kB / 4.065 GB, free: 40.31 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/8.619, allocations: 0.511 MB / 4.065 GB, free: 39.8 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.004436/8.623, allocations: 4.591 MB / 4.07 GB, free: 34.83 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/8.624, allocations: 430.4 kB / 4.07 GB, free: 34.39 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/8.624, allocations: 198.2 kB / 4.07 GB, free: 34.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/8.625, allocations: 287.5 kB / 4.071 GB, free: 33.86 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/8.625, allocations: 0 / 4.071 GB, free: 33.86 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001354/8.626, allocations: 0.6509 MB / 4.071 GB, free: 33.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/8.626, allocations: 85.09 kB / 4.071 GB, free: 33.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/8.627, allocations: 0.9873 MB / 4.072 GB, free: 32.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/8.627, allocations: 33.7 kB / 4.072 GB, free: 32.07 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/8.628, allocations: 0.4926 MB / 4.073 GB, free: 31.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/8.628, allocations: 110.5 kB / 4.073 GB, free: 31.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/8.628, allocations: 12 kB / 4.073 GB, free: 31.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/8.628, allocations: 318 kB / 4.073 GB, free: 31.13 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/8.628, allocations: 196.7 kB / 4.074 GB, free: 30.94 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/8.629, allocations: 0.4968 MB / 4.074 GB, free: 30.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/8.629, allocations: 291.3 kB / 4.074 GB, free: 30.01 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/8.629, allocations: 0 / 4.074 GB, free: 30.01 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009136/8.63, allocations: 0.686 MB / 4.075 GB, free: 29.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004832/8.63, allocations: 2.134 MB / 4.077 GB, free: 27.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/8.63, allocations: 4 kB / 4.077 GB, free: 27.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/8.63, allocations: 12 kB / 4.077 GB, free: 27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/8.632, allocations: 295.5 kB / 4.077 GB, free: 26.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/8.634, allocations: 6.087 MB / 4.083 GB, free: 20.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/8.635, allocations: 103.6 kB / 4.083 GB, free: 20.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/8.635, allocations: 27.98 kB / 4.083 GB, free: 20.26 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/8.635, allocations: 8 kB / 4.083 GB, free: 20.25 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008632/8.636, allocations: 0.5398 MB / 4.084 GB, free: 19.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/8.636, allocations: 7.984 kB / 4.084 GB, free: 19.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/8.636, allocations: 8 kB / 4.084 GB, free: 19.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/8.637, allocations: 148.4 kB / 4.084 GB, free: 19.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/8.637, allocations: 11.98 kB / 4.084 GB, free: 19.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/8.638, allocations: 91.53 kB / 4.084 GB, free: 19.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/8.638, allocations: 24 kB / 4.084 GB, free: 19.42 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 (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.0006468/8.638, allocations: 476.6 kB / 4.085 GB, free: 18.94 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/8.638, allocations: 102.7 kB / 4.085 GB, free: 18.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/8.639, allocations: 0.5025 MB / 4.085 GB, free: 18.33 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/8.639, allocations: 4 kB / 4.085 GB, free: 18.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/8.639, allocations: 0 / 4.085 GB, free: 18.32 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/8.639, allocations: 4 kB / 4.085 GB, free: 18.32 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/8.641, allocations: 1.393 MB / 4.087 GB, free: 16.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/8.641, allocations: 4 kB / 4.087 GB, free: 16.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/8.642, allocations: 147.8 kB / 4.087 GB, free: 16.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/8.642, allocations: 4 kB / 4.087 GB, free: 16.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/8.642, allocations: 12.36 kB / 4.087 GB, free: 16.69 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/8.644, allocations: 6.021 MB / 4.093 GB, free: 10.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/8.644, allocations: 15.95 kB / 4.093 GB, free: 10.42 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/8.645, allocations: 0.6891 MB / 4.093 GB, free: 9.652 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/8.645, allocations: 215.8 kB / 4.094 GB, free: 9.422 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/8.645, allocations: 11.98 kB / 4.094 GB, free: 9.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/8.646, allocations: 59.78 kB / 4.094 GB, free: 9.352 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/8.646, allocations: 31.91 kB / 4.094 GB, free: 9.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/8.646, allocations: 19.98 kB / 4.094 GB, free: 9.301 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008996/8.647, allocations: 0.7758 MB / 4.094 GB, free: 8.516 MB / 1.167 GB Notification: Performance of sort global known variables: time 9e-08/8.647, allocations: 0 / 4.094 GB, free: 8.516 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001748/8.648, allocations: 479.7 kB / 4.095 GB, free: 8.047 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 (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.001347/8.65, allocations: 0.9015 MB / 4.096 GB, free: 7.148 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00234/8.652, allocations: 0.9813 MB / 4.097 GB, free: 6.145 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/8.652, allocations: 4.062 kB / 4.097 GB, free: 6.141 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/8.653, allocations: 271.7 kB / 4.097 GB, free: 5.875 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/8.655, allocations: 471 kB / 4.097 GB, free: 5.422 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/8.657, allocations: 2.01 MB / 4.099 GB, free: 3.363 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/8.658, allocations: 1.2 MB / 4.101 GB, free: 2.133 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001039/8.659, allocations: 383.6 kB / 4.101 GB, free: 1.754 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/8.659, allocations: 67.42 kB / 4.101 GB, free: 1.688 MB / 1.167 GB Notification: Performance of SimCode: time 6.01e-07/8.659, allocations: 0 / 4.101 GB, free: 1.688 MB / 1.167 GB Notification: Performance of Templates: time 0.7247/9.384, allocations: 27.5 MB / 4.128 GB, free: 370.7 MB / 1.167 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