Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, 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.001103/0.001103, allocations: 176.9 kB / 316.3 MB, free: 3.312 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.778/1.778, allocations: 205.3 MB / 0.5671 GB, free: 15.95 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.0008816/0.0008816, allocations: 80.73 kB / 0.6714 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.612e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.7/6.951, allocations: 2.185 GB / 3.07 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/6.951, allocations: 99.47 kB / 3.07 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.069/14.02, allocations: 1.901 GB / 4.971 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/14.02, allocations: 0 / 4.971 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001374/14.02, allocations: 36.98 kB / 4.971 GB, free: 214.1 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.004177/14.02, allocations: 1.266 MB / 4.972 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/14.02, allocations: 11.75 kB / 4.972 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/14.03, allocations: 201.7 kB / 4.972 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/14.03, allocations: 1.453 MB / 4.974 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/14.03, allocations: 17.19 kB / 4.974 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/14.03, allocations: 46.66 kB / 4.974 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/14.03, allocations: 0.6935 MB / 4.975 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/14.03, allocations: 0.851 MB / 4.975 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/14.03, allocations: 2.375 kB / 4.975 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.793e-05/14.03, allocations: 2.312 kB / 4.975 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/14.03, allocations: 13.78 kB / 4.975 GB, free: 213 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.004182/14.04, allocations: 4.582 MB / 4.98 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/14.04, allocations: 4.029 MB / 4.984 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/14.04, allocations: 339.1 kB / 4.984 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/14.04, allocations: 199.4 kB / 4.984 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/14.04, allocations: 293.6 kB / 4.985 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004808/14.04, allocations: 12.84 kB / 4.985 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 4.068e-06/14.04, allocations: 0 / 4.985 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001732/14.04, allocations: 0.8483 MB / 4.985 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/14.04, allocations: 85.2 kB / 4.986 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/14.04, allocations: 0.9029 MB / 4.986 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/14.04, allocations: 28.2 kB / 4.986 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/14.04, allocations: 0.5243 MB / 4.987 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/14.04, allocations: 125.3 kB / 4.987 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/14.04, allocations: 0 / 4.987 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/14.04, allocations: 326.5 kB / 4.987 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/14.04, allocations: 205.6 kB / 4.988 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/14.04, allocations: 0.536 MB / 4.988 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/14.04, allocations: 299.5 kB / 4.988 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/14.04, allocations: 0 / 4.988 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001513/14.05, allocations: 0.979 MB / 4.989 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/14.05, allocations: 2.221 MB / 4.992 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/14.05, allocations: 3.156 kB / 4.992 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/14.05, allocations: 253.8 kB / 4.992 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/14.05, allocations: 80.23 kB / 4.992 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/14.05, allocations: 1.166 MB / 4.993 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/14.05, allocations: 84.81 kB / 4.993 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/14.05, allocations: 32.16 kB / 4.993 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/14.05, allocations: 7.625 kB / 4.993 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/14.05, allocations: 0.6705 MB / 4.994 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/14.05, allocations: 3.75 kB / 4.994 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/14.05, allocations: 235.3 kB / 4.994 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/14.05, allocations: 83.41 kB / 4.994 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/14.05, allocations: 2.963 MB / 4.997 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/14.06, allocations: 92.41 kB / 4.997 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/14.06, allocations: 21.88 kB / 4.997 GB, free: 199.8 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001747/14.06, allocations: 130.7 kB / 4.997 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/14.06, allocations: 101.8 kB / 4.997 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/14.06, allocations: 0.7453 MB / 4.998 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/14.06, allocations: 3.812 kB / 4.998 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/14.06, allocations: 6.25 kB / 4.998 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/14.06, allocations: 0 / 4.998 GB, free: 199.6 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.002318/14.06, allocations: 2.037 MB / 5 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/14.06, allocations: 0 / 5 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/14.06, allocations: 57.05 kB / 5 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/14.06, allocations: 164.2 kB / 5 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/14.06, allocations: 10.39 kB / 5 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005531/14.06, allocations: 0.8927 MB / 5.001 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/14.06, allocations: 3.906 kB / 5.001 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/14.06, allocations: 0.9208 MB / 5.002 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/14.06, allocations: 226.8 kB / 5.002 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/14.06, allocations: 7.031 kB / 5.002 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006732/14.06, allocations: 76.25 kB / 5.002 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/14.06, allocations: 28.91 kB / 5.002 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/14.06, allocations: 18.12 kB / 5.002 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007006/14.06, allocations: 0.7003 MB / 5.003 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.32e-07/14.06, allocations: 0 / 5.003 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001666/14.06, allocations: 0.5803 MB / 5.004 GB, free: 197.6 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/14.07, allocations: 1.284 MB / 5.005 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001438/14.07, allocations: 1.091 MB / 5.006 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/14.07, allocations: 0 / 5.006 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/14.07, allocations: 230.2 kB / 5.006 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/14.07, allocations: 0.583 MB / 5.007 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/14.07, allocations: 1.422 MB / 5.008 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/14.07, allocations: 1.235 MB / 5.009 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001755/14.08, allocations: 0.7356 MB / 5.01 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/14.08, allocations: 47.28 kB / 5.01 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/14.08, allocations: 0 / 5.01 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03797/14.11, allocations: 25.94 MB / 5.035 GB, free: 195.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches