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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 172.3 kB / 326.5 MB, free: 2.23 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.876/1.876, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008767/0.0008772, allocations: 90.22 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003796, allocations: 13.12 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.437/5.677, allocations: 2.182 GB / 3.082 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/5.678, allocations: 95.39 kB / 3.082 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.385/9.063, allocations: 1.035 GB / 4.117 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.234e-06/9.063, allocations: 0 / 4.117 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001767/9.063, allocations: 32.17 kB / 4.117 GB, free: 241.6 MB / 0.8855 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.00549/9.069, allocations: 1.582 MB / 4.119 GB, free: 241 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/9.069, allocations: 10.03 kB / 4.119 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/9.07, allocations: 202.8 kB / 4.119 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/9.074, allocations: 1.441 MB / 4.12 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/9.074, allocations: 48.41 kB / 4.12 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/9.074, allocations: 64.59 kB / 4.121 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/9.076, allocations: 0.9504 MB / 4.121 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/9.076, allocations: 7.516 kB / 4.121 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/9.076, allocations: 22.31 kB / 4.121 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/9.076, allocations: 15.66 kB / 4.121 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/9.077, allocations: 0.7573 MB / 4.122 GB, free: 240.4 MB / 0.8855 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.004021/9.081, allocations: 4.732 MB / 4.127 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/9.082, allocations: 4.058 MB / 4.131 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/9.083, allocations: 197.1 kB / 4.131 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/9.083, allocations: 329.6 kB / 4.131 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004145/9.083, allocations: 30.2 kB / 4.131 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/9.083, allocations: 0 / 4.131 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.003063/9.087, allocations: 1.309 MB / 4.133 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/9.087, allocations: 80.27 kB / 4.133 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/9.088, allocations: 1.039 MB / 4.134 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/9.088, allocations: 40.33 kB / 4.134 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/9.088, allocations: 0.5197 MB / 4.134 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/9.088, allocations: 126.3 kB / 4.134 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/9.088, allocations: 10.56 kB / 4.134 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/9.088, allocations: 332.3 kB / 4.135 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/9.089, allocations: 205.8 kB / 4.135 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/9.089, allocations: 0.5517 MB / 4.135 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/9.09, allocations: 333.8 kB / 4.136 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/9.09, allocations: 0 / 4.136 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001449/9.091, allocations: 0.9749 MB / 4.137 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004168/9.092, allocations: 2.224 MB / 4.139 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/9.092, allocations: 5.719 kB / 4.139 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/9.092, allocations: 293 kB / 4.139 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/9.093, allocations: 87.33 kB / 4.139 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/9.094, allocations: 1.659 MB / 4.141 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/9.095, allocations: 102.1 kB / 4.141 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/9.095, allocations: 34.3 kB / 4.141 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/9.095, allocations: 7.562 kB / 4.141 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/9.097, allocations: 0.7929 MB / 4.142 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/9.097, allocations: 4.938 kB / 4.142 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/9.097, allocations: 220.5 kB / 4.142 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/9.098, allocations: 82.78 kB / 4.142 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/9.101, allocations: 2.972 MB / 4.145 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/9.102, allocations: 100.6 kB / 4.145 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/9.103, allocations: 28.75 kB / 4.145 GB, free: 226.4 MB / 0.8855 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.0006435/9.103, allocations: 478.1 kB / 4.146 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/9.103, allocations: 108.9 kB / 4.146 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/9.105, allocations: 0.7921 MB / 4.146 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/9.105, allocations: 2.844 kB / 4.146 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/9.105, allocations: 0.5625 kB / 4.146 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/9.105, allocations: 2.016 kB / 4.146 GB, free: 226 MB / 0.8855 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.002836/9.108, allocations: 2.171 MB / 4.149 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/9.108, allocations: 3.406 kB / 4.149 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/9.108, allocations: 60.7 kB / 4.149 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/9.108, allocations: 196.4 kB / 4.149 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/9.108, allocations: 15.22 kB / 4.149 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007708/9.109, allocations: 1.466 MB / 4.15 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/9.109, allocations: 0 / 4.15 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/9.11, allocations: 0.9759 MB / 4.151 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/9.111, allocations: 229.3 kB / 4.151 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/9.111, allocations: 17.31 kB / 4.151 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/9.112, allocations: 75.02 kB / 4.152 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/9.112, allocations: 42.41 kB / 4.152 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/9.112, allocations: 13.59 kB / 4.152 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009574/9.113, allocations: 0.8307 MB / 4.152 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/9.113, allocations: 0 / 4.152 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001831/9.115, allocations: 0.6008 MB / 4.153 GB, free: 223.4 MB / 0.8855 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.001556/9.116, allocations: 1.07 MB / 4.154 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002842/9.119, allocations: 1.277 MB / 4.155 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/9.119, allocations: 3.75 kB / 4.155 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/9.12, allocations: 319.3 kB / 4.156 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/9.123, allocations: 0.6447 MB / 4.156 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/9.126, allocations: 2.218 MB / 4.158 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/9.127, allocations: 1.23 MB / 4.16 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001149/9.128, allocations: 388.8 kB / 4.16 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/9.128, allocations: 75.22 kB / 4.16 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.41e-07/9.128, allocations: 6.688 kB / 4.16 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.04052/9.168, allocations: 33.16 MB / 4.192 GB, free: 220.2 MB / 0.8855 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