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.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.707 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.0011/0.0011, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009344/0.0009345, allocations: 78.55 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.919e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.594/6.819, allocations: 2.182 GB / 3.073 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/6.82, allocations: 97.41 kB / 3.074 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.89/10.71, allocations: 1.034 GB / 4.108 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/10.71, allocations: 0 / 4.108 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001045/10.71, allocations: 35.97 kB / 4.108 GB, free: 105.8 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.003704/10.71, allocations: 1.268 MB / 4.109 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/10.71, allocations: 8.031 kB / 4.109 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/10.71, allocations: 202.3 kB / 4.109 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/10.72, allocations: 1.429 MB / 4.111 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/10.72, allocations: 49.31 kB / 4.111 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/10.72, allocations: 64 kB / 4.111 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/10.72, allocations: 0.9215 MB / 4.112 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/10.72, allocations: 3.938 kB / 4.112 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/10.72, allocations: 28 kB / 4.112 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/10.72, allocations: 16 kB / 4.112 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/10.72, allocations: 0.7102 MB / 4.113 GB, free: 100.9 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.003752/10.72, allocations: 4.735 MB / 4.117 GB, free: 95.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/10.73, allocations: 4.01 MB / 4.121 GB, free: 91.03 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/10.73, allocations: 320.7 kB / 4.121 GB, free: 90.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/10.73, allocations: 198.2 kB / 4.122 GB, free: 90.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/10.73, allocations: 309.2 kB / 4.122 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004258/10.73, allocations: 35.69 kB / 4.122 GB, free: 90.13 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.325e-06/10.73, allocations: 0 / 4.122 GB, free: 90.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001293/10.73, allocations: 0.7268 MB / 4.123 GB, free: 89.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/10.73, allocations: 89.03 kB / 4.123 GB, free: 89.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/10.73, allocations: 1.027 MB / 4.124 GB, free: 88.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/10.73, allocations: 37.7 kB / 4.124 GB, free: 88.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/10.73, allocations: 0.5135 MB / 4.124 GB, free: 87.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/10.73, allocations: 142.1 kB / 4.124 GB, free: 87.54 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/10.73, allocations: 12 kB / 4.124 GB, free: 87.53 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/10.73, allocations: 330 kB / 4.125 GB, free: 87.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/10.73, allocations: 185 kB / 4.125 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/10.73, allocations: 0.5288 MB / 4.125 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/10.73, allocations: 307.9 kB / 4.126 GB, free: 86.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/10.73, allocations: 4 kB / 4.126 GB, free: 86.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001162/10.73, allocations: 0.9276 MB / 4.127 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004324/10.73, allocations: 2.237 MB / 4.129 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/10.73, allocations: 4 kB / 4.129 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/10.73, allocations: 286.8 kB / 4.129 GB, free: 82.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/10.73, allocations: 87.89 kB / 4.129 GB, free: 82.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/10.73, allocations: 1.656 MB / 4.131 GB, free: 80.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/10.74, allocations: 103.8 kB / 4.131 GB, free: 80.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/10.74, allocations: 27.98 kB / 4.131 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/10.74, allocations: 4.625 kB / 4.131 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/10.74, allocations: 0.7515 MB / 4.132 GB, free: 79.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/10.74, allocations: 4 kB / 4.132 GB, free: 79.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004275/10.74, allocations: 213 kB / 4.132 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/10.74, allocations: 91.81 kB / 4.132 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/10.74, allocations: 2.896 MB / 4.135 GB, free: 76.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/10.74, allocations: 103.8 kB / 4.135 GB, free: 76.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/10.74, allocations: 31.92 kB / 4.135 GB, free: 76.25 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.0001714/10.74, allocations: 137.1 kB / 4.135 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/10.74, allocations: 110.6 kB / 4.135 GB, free: 76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/10.74, allocations: 0.7539 MB / 4.136 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/10.74, allocations: 4 kB / 4.136 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/10.74, allocations: 4 kB / 4.136 GB, free: 75.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/10.74, allocations: 0 / 4.136 GB, free: 75.22 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.002392/10.75, allocations: 2.117 MB / 4.138 GB, free: 72.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/10.75, allocations: 0 / 4.138 GB, free: 72.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/10.75, allocations: 72.06 kB / 4.138 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/10.75, allocations: 204.5 kB / 4.138 GB, free: 72.69 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/10.75, allocations: 12 kB / 4.138 GB, free: 72.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008048/10.75, allocations: 1.462 MB / 4.14 GB, free: 71.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/10.75, allocations: 8.062 kB / 4.14 GB, free: 71.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/10.75, allocations: 0.9248 MB / 4.141 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/10.75, allocations: 235.7 kB / 4.141 GB, free: 69.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/10.75, allocations: 12 kB / 4.141 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/10.75, allocations: 79.75 kB / 4.141 GB, free: 69.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/10.75, allocations: 31.89 kB / 4.141 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/10.75, allocations: 16 kB / 4.141 GB, free: 69.76 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008705/10.75, allocations: 0.8103 MB / 4.142 GB, free: 68.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/10.75, allocations: 0 / 4.142 GB, free: 68.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001746/10.75, allocations: 0.6127 MB / 4.142 GB, free: 68.33 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.001452/10.75, allocations: 1.057 MB / 4.143 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002213/10.76, allocations: 1.244 MB / 4.145 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/10.76, allocations: 3.938 kB / 4.145 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/10.76, allocations: 296.2 kB / 4.145 GB, free: 65.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/10.76, allocations: 0.6534 MB / 4.145 GB, free: 65.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/10.76, allocations: 1.458 MB / 4.147 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/10.76, allocations: 1.246 MB / 4.148 GB, free: 62.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001811/10.76, allocations: 0.8123 MB / 4.149 GB, free: 61.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/10.76, allocations: 51.44 kB / 4.149 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/10.76, allocations: 0 / 4.149 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.04851/10.81, allocations: 38.08 MB / 4.186 GB, free: 23.39 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