Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.00157/0.00157, allocations: 191.2 kB / 498.1 MB, free: 5.691 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.656/1.656, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001128/0.001128, allocations: 108.4 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 7.469 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2985, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.413/4.711, allocations: 1.869 GB / 3.092 GB, free: 117.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/4.712, allocations: 96.33 kB / 3.092 GB, free: 117.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.264/8.975, allocations: 1.081 GB / 4.173 GB, free: 362.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.375e-06/8.975, allocations: 0 / 4.173 GB, free: 362.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001388/8.976, allocations: 32.31 kB / 4.173 GB, free: 362.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005474/8.981, allocations: 1.579 MB / 4.174 GB, free: 362 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/8.981, allocations: 7.469 kB / 4.174 GB, free: 362 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/8.982, allocations: 203.1 kB / 4.175 GB, free: 362 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/8.986, allocations: 1.431 MB / 4.176 GB, free: 361.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/8.986, allocations: 49.72 kB / 4.176 GB, free: 361.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/8.986, allocations: 64.5 kB / 4.176 GB, free: 361.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/8.988, allocations: 0.9564 MB / 4.177 GB, free: 361.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/8.988, allocations: 3.812 kB / 4.177 GB, free: 361.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/8.988, allocations: 23.78 kB / 4.177 GB, free: 361.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/8.988, allocations: 22.16 kB / 4.177 GB, free: 361.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/8.989, allocations: 0.7632 MB / 4.178 GB, free: 361.4 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.004326/8.993, allocations: 4.729 MB / 4.182 GB, free: 358.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/8.995, allocations: 4.068 MB / 4.186 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/8.995, allocations: 194.8 kB / 4.187 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/8.996, allocations: 322 kB / 4.187 GB, free: 353.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004988/8.996, allocations: 26.66 kB / 4.187 GB, free: 353.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/8.996, allocations: 0 / 4.187 GB, free: 353.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003073/8.999, allocations: 1.309 MB / 4.188 GB, free: 353.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/8.999, allocations: 87.44 kB / 4.188 GB, free: 353.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/9.001, allocations: 1.043 MB / 4.189 GB, free: 353.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/9.001, allocations: 37.39 kB / 4.189 GB, free: 353.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/9.001, allocations: 0.5174 MB / 4.19 GB, free: 353.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/9.001, allocations: 131.5 kB / 4.19 GB, free: 353.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/9.001, allocations: 10.5 kB / 4.19 GB, free: 353.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000105/9.001, allocations: 328.3 kB / 4.19 GB, free: 352.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/9.002, allocations: 207.9 kB / 4.191 GB, free: 352.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/9.002, allocations: 0.5561 MB / 4.191 GB, free: 352.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/9.003, allocations: 325.9 kB / 4.191 GB, free: 352.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/9.003, allocations: 3.906 kB / 4.191 GB, free: 352.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001622/9.005, allocations: 0.9758 MB / 4.192 GB, free: 352.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006032/9.005, allocations: 2.214 MB / 4.195 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/9.005, allocations: 7.625 kB / 4.195 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/9.006, allocations: 295.3 kB / 4.195 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/9.006, allocations: 92.84 kB / 4.195 GB, free: 349.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/9.008, allocations: 1.658 MB / 4.197 GB, free: 348.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/9.009, allocations: 101.3 kB / 4.197 GB, free: 348.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/9.009, allocations: 27.61 kB / 4.197 GB, free: 348.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/9.009, allocations: 9.688 kB / 4.197 GB, free: 348.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/9.011, allocations: 0.803 MB / 4.197 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/9.011, allocations: 7.906 kB / 4.197 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/9.011, allocations: 219.8 kB / 4.198 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/9.011, allocations: 86.03 kB / 4.198 GB, free: 348.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/9.015, allocations: 2.948 MB / 4.201 GB, free: 347.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/9.016, allocations: 111.1 kB / 4.201 GB, free: 347.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/9.016, allocations: 23.91 kB / 4.201 GB, free: 347.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007914/9.017, allocations: 476.6 kB / 4.201 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/9.017, allocations: 111.8 kB / 4.201 GB, free: 347.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/9.018, allocations: 0.8012 MB / 4.202 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/9.018, allocations: 3.344 kB / 4.202 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/9.018, allocations: 2.656 kB / 4.202 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/9.018, allocations: 6.375 kB / 4.202 GB, free: 347 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 postOpt removeSimpleEquations (simulation): time 0.00278/9.021, allocations: 2.15 MB / 4.204 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/9.021, allocations: 3.25 kB / 4.204 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/9.021, allocations: 70.98 kB / 4.204 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000375/9.022, allocations: 199.6 kB / 4.204 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/9.022, allocations: 9.906 kB / 4.204 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008044/9.023, allocations: 1.468 MB / 4.206 GB, free: 345 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/9.023, allocations: 192 / 4.206 GB, free: 345 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/9.024, allocations: 0.9745 MB / 4.207 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/9.024, allocations: 231.5 kB / 4.207 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/9.024, allocations: 7.219 kB / 4.207 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/9.025, allocations: 84.95 kB / 4.207 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/9.025, allocations: 38.56 kB / 4.207 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/9.025, allocations: 12.28 kB / 4.207 GB, free: 344.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009817/9.026, allocations: 0.8222 MB / 4.208 GB, free: 344.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/9.026, allocations: 0 / 4.208 GB, free: 344.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00191/9.028, allocations: 0.5971 MB / 4.209 GB, free: 344.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/9.03, allocations: 1.08 MB / 4.21 GB, free: 344 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002508/9.032, allocations: 1.275 MB / 4.211 GB, free: 343.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/9.032, allocations: 0 / 4.211 GB, free: 343.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/9.033, allocations: 327 kB / 4.211 GB, free: 343.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/9.036, allocations: 0.6376 MB / 4.212 GB, free: 343.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/9.039, allocations: 2.234 MB / 4.214 GB, free: 342.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/9.04, allocations: 1.237 MB / 4.215 GB, free: 342.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001259/9.041, allocations: 384.6 kB / 4.216 GB, free: 342.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/9.041, allocations: 76.44 kB / 4.216 GB, free: 342.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/9.041, allocations: 0 / 4.216 GB, free: 342.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04711/9.089, allocations: 33.17 MB / 4.248 GB, free: 325.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches