Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,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.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,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.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001016/0.001016, allocations: 188.7 kB / 321.3 MB, free: 14.68 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.668/1.668, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0007799/0.0007799, allocations: 82.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.858e-05/6.86e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/6.628, allocations: 2.182 GB / 3.074 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/6.628, allocations: 89.55 kB / 3.074 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.415/14.04, allocations: 1.911 GB / 4.985 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/14.04, allocations: 0 / 4.985 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001564/14.04, allocations: 33.94 kB / 4.985 GB, free: 209.5 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.004116/14.05, allocations: 1.265 MB / 4.986 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/14.05, allocations: 11.06 kB / 4.986 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/14.05, allocations: 201 kB / 4.987 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/14.05, allocations: 1.434 MB / 4.988 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/14.05, allocations: 54.7 kB / 4.988 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/14.05, allocations: 60.16 kB / 4.988 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/14.05, allocations: 0.932 MB / 4.989 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/14.05, allocations: 3.281 kB / 4.989 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/14.05, allocations: 25.59 kB / 4.989 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/14.05, allocations: 14.56 kB / 4.989 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/14.05, allocations: 0.708 MB / 4.99 GB, free: 208.2 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.003977/14.06, allocations: 4.727 MB / 4.994 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/14.06, allocations: 4.019 MB / 4.998 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/14.06, allocations: 319.4 kB / 4.999 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/14.06, allocations: 202.2 kB / 4.999 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/14.06, allocations: 308.3 kB / 4.999 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004533/14.06, allocations: 28.92 kB / 4.999 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/14.06, allocations: 0 / 4.999 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001275/14.06, allocations: 0.7292 MB / 5 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/14.06, allocations: 87.58 kB / 5 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/14.06, allocations: 1.031 MB / 5.001 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/14.06, allocations: 39.77 kB / 5.001 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/14.06, allocations: 0.5084 MB / 5.001 GB, free: 200 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/14.06, allocations: 130.9 kB / 5.002 GB, free: 200 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/14.06, allocations: 6.125 kB / 5.002 GB, free: 200 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/14.06, allocations: 338.2 kB / 5.002 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/14.07, allocations: 187.5 kB / 5.002 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/14.07, allocations: 0.5319 MB / 5.003 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/14.07, allocations: 309.6 kB / 5.003 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/14.07, allocations: 7.562 kB / 5.003 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001213/14.07, allocations: 0.9233 MB / 5.004 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004429/14.07, allocations: 2.224 MB / 5.006 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/14.07, allocations: 11.58 kB / 5.006 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/14.07, allocations: 234.5 kB / 5.006 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/14.07, allocations: 81.8 kB / 5.006 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008123/14.07, allocations: 0.9976 MB / 5.007 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/14.07, allocations: 100.5 kB / 5.007 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/14.07, allocations: 32.31 kB / 5.007 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/14.07, allocations: 3.812 kB / 5.007 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/14.07, allocations: 0.7456 MB / 5.008 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/14.07, allocations: 3.625 kB / 5.008 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/14.07, allocations: 228.1 kB / 5.008 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/14.07, allocations: 80.81 kB / 5.008 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/14.08, allocations: 2.873 MB / 5.011 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/14.08, allocations: 105.5 kB / 5.011 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/14.08, allocations: 26.16 kB / 5.011 GB, free: 193.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 (40): * Single equations (assignments): 38 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/14.08, allocations: 148.3 kB / 5.012 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/14.08, allocations: 108.8 kB / 5.012 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/14.08, allocations: 0.7437 MB / 5.012 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/14.08, allocations: 7.641 kB / 5.012 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/14.08, allocations: 0 / 5.012 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/14.08, allocations: 0 / 5.012 GB, free: 193.4 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.00252/14.08, allocations: 2.118 MB / 5.014 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/14.08, allocations: 7.906 kB / 5.014 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/14.08, allocations: 53.11 kB / 5.014 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/14.08, allocations: 181.7 kB / 5.015 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/14.08, allocations: 15.34 kB / 5.015 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005396/14.08, allocations: 0.8473 MB / 5.015 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/14.08, allocations: 7.5 kB / 5.015 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/14.08, allocations: 0.9154 MB / 5.016 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/14.08, allocations: 232.9 kB / 5.017 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/14.08, allocations: 15.56 kB / 5.017 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/14.08, allocations: 82.17 kB / 5.017 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/14.08, allocations: 39.97 kB / 5.017 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/14.08, allocations: 9.906 kB / 5.017 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000942/14.08, allocations: 0.8148 MB / 5.018 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/14.08, allocations: 0 / 5.018 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001807/14.09, allocations: 0.5997 MB / 5.018 GB, free: 190.4 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): 23 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/14.09, allocations: 1.071 MB / 5.019 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001659/14.09, allocations: 1.106 MB / 5.02 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/14.09, allocations: 0 / 5.02 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/14.09, allocations: 239.8 kB / 5.02 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/14.09, allocations: 0.6511 MB / 5.021 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/14.1, allocations: 1.459 MB / 5.023 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/14.1, allocations: 1.229 MB / 5.024 GB, free: 188 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001998/14.1, allocations: 0.8155 MB / 5.025 GB, free: 188 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/14.1, allocations: 49.22 kB / 5.025 GB, free: 188 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/14.1, allocations: 3.25 kB / 5.025 GB, free: 188 MB / 0.8698 GB Notification: Performance of Templates: time 0.0512/14.15, allocations: 38.28 MB / 5.062 GB, free: 168.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches