Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001248, allocations: 188.2 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 85.84 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.58/6.836, allocations: 2.182 GB / 3.067 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/6.837, allocations: 90 kB / 3.067 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.892/10.73, allocations: 1.023 GB / 4.09 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.814e-06/10.73, allocations: 8 kB / 4.09 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001072/10.73, allocations: 35.27 kB / 4.09 GB, free: 197.7 MB / 0.8698 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.003871/10.73, allocations: 1.271 MB / 4.092 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/10.73, allocations: 12.03 kB / 4.092 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/10.73, allocations: 198.3 kB / 4.092 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/10.74, allocations: 1.421 MB / 4.093 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/10.74, allocations: 27.95 kB / 4.093 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/10.74, allocations: 40 kB / 4.093 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009196/10.74, allocations: 0.7091 MB / 4.094 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/10.74, allocations: 0.8415 MB / 4.095 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/10.74, allocations: 7.984 kB / 4.095 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/10.74, allocations: 4 kB / 4.095 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/10.74, allocations: 16 kB / 4.095 GB, free: 193 MB / 0.8698 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.003661/10.74, allocations: 4.608 MB / 4.099 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/10.74, allocations: 4.075 MB / 4.103 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/10.74, allocations: 340.7 kB / 4.104 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/10.74, allocations: 194 kB / 4.104 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/10.75, allocations: 293.5 kB / 4.104 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003967/10.75, allocations: 15.78 kB / 4.104 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.004e-06/10.75, allocations: 3.938 kB / 4.104 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001571/10.75, allocations: 0.8131 MB / 4.105 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/10.75, allocations: 81.11 kB / 4.105 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/10.75, allocations: 0.9024 MB / 4.106 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/10.75, allocations: 29.7 kB / 4.106 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/10.75, allocations: 0.5207 MB / 4.106 GB, free: 180 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/10.75, allocations: 122.2 kB / 4.107 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/10.75, allocations: 4 kB / 4.107 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/10.75, allocations: 333.9 kB / 4.107 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/10.75, allocations: 201 kB / 4.107 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/10.75, allocations: 0.5393 MB / 4.108 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/10.75, allocations: 293.3 kB / 4.108 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/10.75, allocations: 8 kB / 4.108 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001393/10.75, allocations: 0.9486 MB / 4.109 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005064/10.75, allocations: 2.229 MB / 4.111 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/10.75, allocations: 4 kB / 4.111 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/10.75, allocations: 258.8 kB / 4.111 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/10.75, allocations: 95.52 kB / 4.111 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/10.75, allocations: 1.762 MB / 4.113 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/10.76, allocations: 95.83 kB / 4.113 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/10.76, allocations: 24 kB / 4.113 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/10.76, allocations: 4.938 kB / 4.113 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/10.76, allocations: 0.657 MB / 4.114 GB, free: 172 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/10.76, allocations: 4 kB / 4.114 GB, free: 172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/10.76, allocations: 197.1 kB / 4.114 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/10.76, allocations: 79.89 kB / 4.114 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/10.76, allocations: 2.793 MB / 4.117 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/10.76, allocations: 91.8 kB / 4.117 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/10.76, allocations: 28 kB / 4.117 GB, free: 168.7 MB / 0.8698 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 () * 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.0002095/10.76, allocations: 133 kB / 4.117 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/10.76, allocations: 102.9 kB / 4.117 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/10.76, allocations: 0.7143 MB / 4.118 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/10.76, allocations: 4 kB / 4.118 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/10.76, allocations: 0 / 4.118 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/10.76, allocations: 0 / 4.118 GB, free: 167.8 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.002345/10.76, allocations: 2.017 MB / 4.12 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/10.76, allocations: 0 / 4.12 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/10.77, allocations: 63.89 kB / 4.12 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/10.77, allocations: 165.6 kB / 4.12 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/10.77, allocations: 4 kB / 4.12 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008386/10.77, allocations: 1.495 MB / 4.121 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/10.77, allocations: 4.031 kB / 4.121 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/10.77, allocations: 0.8926 MB / 4.122 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/10.77, allocations: 223.8 kB / 4.123 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/10.77, allocations: 4 kB / 4.123 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/10.77, allocations: 75.75 kB / 4.123 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/10.77, allocations: 35.86 kB / 4.123 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/10.77, allocations: 19.98 kB / 4.123 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007973/10.77, allocations: 0.6945 MB / 4.123 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/10.77, allocations: 0 / 4.123 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001953/10.77, allocations: 0.5695 MB / 4.124 GB, free: 161.2 MB / 0.8698 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) * 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.001949/10.77, allocations: 1.207 MB / 4.125 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002504/10.78, allocations: 1.205 MB / 4.126 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/10.78, allocations: 0 / 4.126 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/10.78, allocations: 288.1 kB / 4.127 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/10.78, allocations: 0.5768 MB / 4.127 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/10.78, allocations: 1.428 MB / 4.128 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/10.78, allocations: 1.238 MB / 4.13 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001768/10.78, allocations: 0.7142 MB / 4.13 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/10.78, allocations: 47.44 kB / 4.13 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/10.78, allocations: 0 / 4.13 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03599/10.82, allocations: 25.18 MB / 4.155 GB, free: 129.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches