Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,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.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,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.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.898 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.0013/0.0013, allocations: 183.5 kB / 316.3 MB, free: 3.227 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.716/1.716, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009695/0.0009696, allocations: 92.25 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.729e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.529/6.801, allocations: 2.185 GB / 3.07 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/6.801, allocations: 87.94 kB / 3.07 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.706/10.51, allocations: 1.032 GB / 4.102 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/10.51, allocations: 0 / 4.102 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001762/10.51, allocations: 35.75 kB / 4.102 GB, free: 185.6 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005623/10.51, allocations: 1.269 MB / 4.103 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/10.51, allocations: 12.03 kB / 4.103 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/10.51, allocations: 200.7 kB / 4.103 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/10.52, allocations: 1.451 MB / 4.105 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/10.52, allocations: 19.95 kB / 4.105 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/10.52, allocations: 40 kB / 4.105 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/10.52, allocations: 0.6936 MB / 4.105 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/10.52, allocations: 0.855 MB / 4.106 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/10.52, allocations: 4 kB / 4.106 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/10.52, allocations: 0 / 4.106 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/10.52, allocations: 19.94 kB / 4.106 GB, free: 180.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.004731/10.52, allocations: 4.566 MB / 4.111 GB, free: 176 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/10.53, allocations: 4.029 MB / 4.115 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/10.53, allocations: 343.3 kB / 4.115 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/10.53, allocations: 206 kB / 4.115 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/10.53, allocations: 289.4 kB / 4.115 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004899/10.53, allocations: 15.84 kB / 4.115 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/10.53, allocations: 0 / 4.115 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001655/10.53, allocations: 0.8566 MB / 4.116 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/10.53, allocations: 81.11 kB / 4.116 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009488/10.53, allocations: 0.9028 MB / 4.117 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/10.53, allocations: 37.7 kB / 4.117 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/10.53, allocations: 0.516 MB / 4.118 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/10.53, allocations: 122.2 kB / 4.118 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/10.53, allocations: 0 / 4.118 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/10.53, allocations: 333.8 kB / 4.118 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/10.53, allocations: 205 kB / 4.118 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/10.53, allocations: 0.5354 MB / 4.119 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/10.53, allocations: 309.1 kB / 4.119 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/10.53, allocations: 4 kB / 4.119 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001468/10.53, allocations: 0.9893 MB / 4.12 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004741/10.53, allocations: 2.222 MB / 4.122 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/10.53, allocations: 4 kB / 4.122 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/10.53, allocations: 289.6 kB / 4.123 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/10.54, allocations: 79.83 kB / 4.123 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/10.54, allocations: 1.226 MB / 4.124 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/10.54, allocations: 91.7 kB / 4.124 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/10.54, allocations: 31.98 kB / 4.124 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/10.54, allocations: 4 kB / 4.124 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/10.54, allocations: 0.6721 MB / 4.125 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/10.54, allocations: 8 kB / 4.125 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/10.54, allocations: 228.6 kB / 4.125 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/10.54, allocations: 67.89 kB / 4.125 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/10.54, allocations: 2.994 MB / 4.128 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/10.54, allocations: 87.91 kB / 4.128 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/10.54, allocations: 31.88 kB / 4.128 GB, free: 156.9 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 (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.0001834/10.54, allocations: 129 kB / 4.128 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/10.54, allocations: 98.78 kB / 4.128 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/10.54, allocations: 0.7507 MB / 4.129 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/10.54, allocations: 4 kB / 4.129 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/10.54, allocations: 3.953 kB / 4.129 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/10.54, allocations: 0 / 4.129 GB, free: 155.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 postOpt removeSimpleEquations (simulation): time 0.002197/10.55, allocations: 2.043 MB / 4.131 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/10.55, allocations: 4.188 kB / 4.131 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/10.55, allocations: 52.14 kB / 4.131 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/10.55, allocations: 204.2 kB / 4.131 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/10.55, allocations: 15.98 kB / 4.131 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006739/10.55, allocations: 0.9483 MB / 4.132 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/10.55, allocations: 4 kB / 4.132 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/10.55, allocations: 0.9234 MB / 4.133 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/10.55, allocations: 231.7 kB / 4.133 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/10.55, allocations: 7.984 kB / 4.133 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/10.55, allocations: 71.75 kB / 4.133 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/10.55, allocations: 39.91 kB / 4.133 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/10.55, allocations: 19.94 kB / 4.133 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006726/10.55, allocations: 0.6986 MB / 4.134 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.02e-07/10.55, allocations: 112 / 4.134 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0017/10.55, allocations: 0.5657 MB / 4.135 GB, free: 149.8 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 (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.001504/10.55, allocations: 1.28 MB / 4.136 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002066/10.56, allocations: 1.23 MB / 4.137 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/10.56, allocations: 0 / 4.137 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/10.56, allocations: 288.5 kB / 4.137 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/10.56, allocations: 0.5843 MB / 4.138 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/10.56, allocations: 1.424 MB / 4.139 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/10.56, allocations: 1.242 MB / 4.14 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001704/10.56, allocations: 0.726 MB / 4.141 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/10.56, allocations: 51.38 kB / 4.141 GB, free: 143 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/10.56, allocations: 0 / 4.141 GB, free: 143 MB / 0.8698 GB Notification: Performance of Templates: time 0.03536/10.6, allocations: 25.68 MB / 4.166 GB, free: 117.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches