Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00133/0.00133, allocations: 165.2 kB / 498.1 MB, free: 5.77 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.746/1.746, allocations: 223.2 MB / 0.7949 GB, free: 17.92 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.001023/0.001023, allocations: 87.97 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 9.875 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3523, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.546/4.898, allocations: 1.872 GB / 3.095 GB, free: 143.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003862/4.898, allocations: 95.94 kB / 3.095 GB, free: 143.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.379/9.277, allocations: 1.09 GB / 4.185 GB, free: 359.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.324e-06/9.277, allocations: 0 / 4.185 GB, free: 359.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001206/9.278, allocations: 32.53 kB / 4.185 GB, free: 359.2 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005462/9.283, allocations: 1.579 MB / 4.186 GB, free: 358.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/9.283, allocations: 11.81 kB / 4.186 GB, free: 358.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/9.284, allocations: 198.2 kB / 4.186 GB, free: 358.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00418/9.289, allocations: 1.465 MB / 4.188 GB, free: 358.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/9.289, allocations: 48.38 kB / 4.188 GB, free: 358.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/9.289, allocations: 67.12 kB / 4.188 GB, free: 358.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/9.29, allocations: 0.9466 MB / 4.189 GB, free: 358 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/9.29, allocations: 3.656 kB / 4.189 GB, free: 358 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/9.29, allocations: 24.53 kB / 4.189 GB, free: 358 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/9.29, allocations: 22.83 kB / 4.189 GB, free: 358 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/9.291, allocations: 0.7454 MB / 4.19 GB, free: 358 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.004422/9.296, allocations: 4.706 MB / 4.194 GB, free: 354.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/9.298, allocations: 4.023 MB / 4.198 GB, free: 350.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/9.298, allocations: 193.1 kB / 4.198 GB, free: 350.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/9.298, allocations: 322.7 kB / 4.199 GB, free: 350.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004976/9.299, allocations: 36.98 kB / 4.199 GB, free: 350.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/9.299, allocations: 0 / 4.199 GB, free: 350.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003427/9.302, allocations: 1.441 MB / 4.2 GB, free: 350.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/9.302, allocations: 87.55 kB / 4.2 GB, free: 350.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/9.304, allocations: 1.045 MB / 4.201 GB, free: 349.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/9.304, allocations: 40.36 kB / 4.201 GB, free: 349.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/9.304, allocations: 0.5091 MB / 4.202 GB, free: 349.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/9.304, allocations: 124.3 kB / 4.202 GB, free: 349.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/9.304, allocations: 13.03 kB / 4.202 GB, free: 349.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/9.304, allocations: 329.7 kB / 4.202 GB, free: 349.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/9.305, allocations: 206.5 kB / 4.202 GB, free: 349.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/9.305, allocations: 0.5559 MB / 4.203 GB, free: 349 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/9.306, allocations: 339 kB / 4.203 GB, free: 348.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/9.306, allocations: 0 / 4.203 GB, free: 348.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001662/9.307, allocations: 1.005 MB / 4.204 GB, free: 348.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005772/9.308, allocations: 2.228 MB / 4.206 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/9.308, allocations: 6.5 kB / 4.206 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/9.309, allocations: 328.2 kB / 4.207 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/9.309, allocations: 71.64 kB / 4.207 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/9.31, allocations: 1.123 MB / 4.208 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/9.312, allocations: 103.5 kB / 4.208 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/9.312, allocations: 32.36 kB / 4.208 GB, free: 345.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/9.312, allocations: 3.969 kB / 4.208 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001439/9.313, allocations: 0.8252 MB / 4.209 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/9.313, allocations: 3.906 kB / 4.209 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/9.314, allocations: 244.6 kB / 4.209 GB, free: 345.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/9.314, allocations: 74.28 kB / 4.209 GB, free: 345.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/9.318, allocations: 3.177 MB / 4.212 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/9.319, allocations: 109 kB / 4.212 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/9.319, allocations: 22.62 kB / 4.212 GB, free: 344.5 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000792/9.32, allocations: 483.8 kB / 4.213 GB, free: 344.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/9.32, allocations: 111 kB / 4.213 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/9.322, allocations: 0.8306 MB / 4.214 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/9.322, allocations: 3.969 kB / 4.214 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/9.322, allocations: 0 / 4.214 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/9.322, allocations: 3.234 kB / 4.214 GB, free: 344.1 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.003243/9.325, allocations: 2.198 MB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/9.325, allocations: 3.688 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/9.325, allocations: 47.36 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/9.326, allocations: 241.8 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/9.326, allocations: 15.41 kB / 4.216 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008646/9.327, allocations: 0.9339 MB / 4.217 GB, free: 342.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/9.327, allocations: 7.453 kB / 4.217 GB, free: 342.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/9.328, allocations: 0.9946 MB / 4.218 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/9.329, allocations: 238.7 kB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/9.329, allocations: 12.94 kB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/9.329, allocations: 76.34 kB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/9.33, allocations: 44.12 kB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/9.33, allocations: 12.66 kB / 4.218 GB, free: 342.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001232/9.331, allocations: 0.8309 MB / 4.219 GB, free: 342 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/9.331, allocations: 0 / 4.219 GB, free: 342 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002413/9.333, allocations: 0.5969 MB / 4.22 GB, free: 342 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002153/9.335, allocations: 1.136 MB / 4.221 GB, free: 341.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003158/9.339, allocations: 1.302 MB / 4.222 GB, free: 341.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/9.339, allocations: 0 / 4.222 GB, free: 341.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/9.339, allocations: 323.5 kB / 4.223 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/9.343, allocations: 0.6466 MB / 4.223 GB, free: 341.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/9.348, allocations: 2.239 MB / 4.225 GB, free: 340.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009067/9.349, allocations: 1.24 MB / 4.227 GB, free: 339.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001631/9.35, allocations: 378.1 kB / 4.227 GB, free: 339.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/9.35, allocations: 73.89 kB / 4.227 GB, free: 339.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.284e-06/9.35, allocations: 0 / 4.227 GB, free: 339.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05126/9.402, allocations: 33.99 MB / 4.26 GB, free: 329.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches