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.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.906 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.001142/0.001141, allocations: 172.9 kB / 316.3 MB, free: 3.238 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.732/1.732, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.00101/0.001009, allocations: 88.88 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.512e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2518, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.644/6.896, allocations: 2.182 GB / 3.067 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/6.896, allocations: 95.38 kB / 3.067 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.172/14.07, allocations: 1.891 GB / 4.958 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.283e-06/14.07, allocations: 3.938 kB / 4.958 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00012/14.07, allocations: 40.34 kB / 4.959 GB, free: 213.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003953/14.07, allocations: 1.277 MB / 4.96 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/14.07, allocations: 9.688 kB / 4.96 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/14.07, allocations: 200.5 kB / 4.96 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/14.08, allocations: 1.424 MB / 4.961 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/14.08, allocations: 18.12 kB / 4.961 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/14.08, allocations: 37.59 kB / 4.961 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/14.08, allocations: 0.7086 MB / 4.962 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/14.08, allocations: 0.8524 MB / 4.963 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/14.08, allocations: 0.5625 kB / 4.963 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/14.08, allocations: 3.25 kB / 4.963 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/14.08, allocations: 22.5 kB / 4.963 GB, free: 212.5 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.004426/14.08, allocations: 4.606 MB / 4.967 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/14.09, allocations: 4.074 MB / 4.971 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/14.09, allocations: 346 kB / 4.972 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/14.09, allocations: 199.8 kB / 4.972 GB, free: 205 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/14.09, allocations: 294.3 kB / 4.972 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004782/14.09, allocations: 14.06 kB / 4.972 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/14.09, allocations: 0 / 4.972 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001755/14.09, allocations: 0.8179 MB / 4.973 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/14.09, allocations: 80.98 kB / 4.973 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/14.09, allocations: 0.8998 MB / 4.974 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/14.09, allocations: 28.64 kB / 4.974 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/14.09, allocations: 0.5263 MB / 4.975 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/14.09, allocations: 120.3 kB / 4.975 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/14.09, allocations: 2.906 kB / 4.975 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/14.09, allocations: 323.8 kB / 4.975 GB, free: 204 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/14.09, allocations: 207.1 kB / 4.975 GB, free: 204 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/14.09, allocations: 0.5382 MB / 4.976 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/14.09, allocations: 288.1 kB / 4.976 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/14.09, allocations: 2.75 kB / 4.976 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001499/14.09, allocations: 0.9479 MB / 4.977 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005308/14.09, allocations: 2.219 MB / 4.979 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/14.09, allocations: 7.25 kB / 4.979 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/14.09, allocations: 228 kB / 4.979 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/14.09, allocations: 79.84 kB / 4.979 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009598/14.1, allocations: 1.113 MB / 4.98 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/14.1, allocations: 97.34 kB / 4.981 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/14.1, allocations: 26.31 kB / 4.981 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/14.1, allocations: 0 / 4.981 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/14.1, allocations: 0.6573 MB / 4.981 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/14.1, allocations: 8.406 kB / 4.981 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/14.1, allocations: 204.8 kB / 4.981 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/14.1, allocations: 75.14 kB / 4.981 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/14.1, allocations: 2.777 MB / 4.984 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/14.1, allocations: 89.72 kB / 4.984 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/14.1, allocations: 29.64 kB / 4.984 GB, free: 199.3 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.0001901/14.1, allocations: 125.9 kB / 4.984 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/14.1, allocations: 100.7 kB / 4.985 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/14.1, allocations: 0.7206 MB / 4.985 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/14.1, allocations: 7.594 kB / 4.985 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/14.1, allocations: 0 / 4.985 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/14.1, allocations: 2.859 kB / 4.985 GB, free: 199.1 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.002411/14.11, allocations: 2.001 MB / 4.987 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/14.11, allocations: 7.219 kB / 4.987 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/14.11, allocations: 51.61 kB / 4.987 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/14.11, allocations: 143.5 kB / 4.987 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/14.11, allocations: 7.094 kB / 4.987 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/14.11, allocations: 0.8573 MB / 4.988 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/14.11, allocations: 11.17 kB / 4.988 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/14.11, allocations: 0.8973 MB / 4.989 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/14.11, allocations: 223.1 kB / 4.989 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/14.11, allocations: 3.969 kB / 4.989 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/14.11, allocations: 71.59 kB / 4.989 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/14.11, allocations: 41.19 kB / 4.989 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/14.11, allocations: 19.45 kB / 4.989 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007319/14.11, allocations: 0.6955 MB / 4.99 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/14.11, allocations: 0 / 4.99 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001737/14.11, allocations: 0.5681 MB / 4.991 GB, free: 197.1 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.00164/14.11, allocations: 1.21 MB / 4.992 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001662/14.12, allocations: 1.068 MB / 4.993 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/14.12, allocations: 0 / 4.993 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/14.12, allocations: 233.8 kB / 4.993 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/14.12, allocations: 0.5795 MB / 4.994 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/14.12, allocations: 1.418 MB / 4.995 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/14.12, allocations: 1.238 MB / 4.996 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002213/14.12, allocations: 0.7249 MB / 4.997 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/14.12, allocations: 47.03 kB / 4.997 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/14.12, allocations: 3.938 kB / 4.997 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.04749/14.17, allocations: 25.29 MB / 5.022 GB, free: 194.3 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