Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00109/0.001089, allocations: 180.9 kB / 487.4 MB, free: 5.039 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.679/1.679, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 95.78 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.491e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3697, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/6.813, allocations: 1.869 GB / 3.075 GB, free: 363 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.813, allocations: 97.05 kB / 3.075 GB, free: 363 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.103/12.92, allocations: 1.782 GB / 4.857 GB, free: 361.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/12.92, allocations: 0 / 4.857 GB, free: 361.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001171/12.92, allocations: 32.16 kB / 4.857 GB, free: 361.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002084/12.92, allocations: 1.132 MB / 4.858 GB, free: 361.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/12.92, allocations: 9.438 kB / 4.858 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/12.92, allocations: 192.6 kB / 4.858 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/12.92, allocations: 1.074 MB / 4.859 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/12.92, allocations: 16.22 kB / 4.859 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-05/12.92, allocations: 37.09 kB / 4.859 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007761/12.92, allocations: 470.9 kB / 4.86 GB, free: 360.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/12.92, allocations: 0.6721 MB / 4.86 GB, free: 360.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/12.92, allocations: 5.297 kB / 4.86 GB, free: 360.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/12.92, allocations: 2.719 kB / 4.86 GB, free: 360.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/12.92, allocations: 16.69 kB / 4.86 GB, free: 360.7 MB / 1.151 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.003504/12.93, allocations: 4.479 MB / 4.865 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/12.93, allocations: 442.8 kB / 4.865 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/12.93, allocations: 236.8 kB / 4.865 GB, free: 357.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/12.93, allocations: 195.5 kB / 4.866 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/12.93, allocations: 265 kB / 4.866 GB, free: 357 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/12.93, allocations: 8.859 kB / 4.866 GB, free: 357 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001022/12.93, allocations: 489.1 kB / 4.866 GB, free: 356.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/12.93, allocations: 84.58 kB / 4.866 GB, free: 356.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/12.93, allocations: 0.8539 MB / 4.867 GB, free: 356.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/12.93, allocations: 28.55 kB / 4.867 GB, free: 356.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/12.93, allocations: 495.6 kB / 4.868 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/12.93, allocations: 101.2 kB / 4.868 GB, free: 356.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/12.93, allocations: 0 / 4.868 GB, free: 356.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/12.93, allocations: 332.2 kB / 4.868 GB, free: 356.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/12.93, allocations: 178.7 kB / 4.868 GB, free: 356.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/12.93, allocations: 499.4 kB / 4.869 GB, free: 355.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/12.93, allocations: 266.7 kB / 4.869 GB, free: 355.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/12.93, allocations: 2.75 kB / 4.869 GB, free: 355.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009389/12.93, allocations: 0.604 MB / 4.87 GB, free: 355.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004/12.93, allocations: 2.133 MB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/12.93, allocations: 5.438 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/12.93, allocations: 8.969 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/12.94, allocations: 117.2 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/12.94, allocations: 7.656 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/12.94, allocations: 84.59 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/12.94, allocations: 23.81 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/12.94, allocations: 4.25 kB / 4.872 GB, free: 353.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006909/12.94, allocations: 430 kB / 4.872 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/12.94, allocations: 5.812 kB / 4.872 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/12.94, allocations: 7.656 kB / 4.872 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/12.94, allocations: 108.9 kB / 4.872 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/12.94, allocations: 15.12 kB / 4.872 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/12.94, allocations: 79.84 kB / 4.873 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/12.94, allocations: 30.2 kB / 4.873 GB, free: 353.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/12.94, allocations: 123.2 kB / 4.873 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/12.94, allocations: 92.94 kB / 4.873 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/12.94, allocations: 441.1 kB / 4.873 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/12.94, allocations: 3.781 kB / 4.873 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/12.94, allocations: 1.062 kB / 4.873 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/12.94, allocations: 5.219 kB / 4.873 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/12.94, allocations: 1.266 MB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/12.94, allocations: 2.656 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/12.94, allocations: 67.69 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/12.94, allocations: 3.688 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/12.94, allocations: 8.047 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/12.94, allocations: 4.125 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/12.94, allocations: 2.625 kB / 4.874 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/12.94, allocations: 0.6258 MB / 4.875 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/12.94, allocations: 223.8 kB / 4.875 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/12.94, allocations: 9.375 kB / 4.875 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/12.94, allocations: 49.09 kB / 4.875 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/12.94, allocations: 32.12 kB / 4.875 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/12.94, allocations: 9.281 kB / 4.875 GB, free: 352.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000989/12.94, allocations: 0.6641 MB / 4.876 GB, free: 352.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/12.94, allocations: 2.938 kB / 4.876 GB, free: 352.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001877/12.95, allocations: 451.3 kB / 4.876 GB, free: 352.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/12.95, allocations: 1.02 MB / 4.877 GB, free: 352 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001039/12.95, allocations: 0.7555 MB / 4.878 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/12.95, allocations: 0 / 4.878 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/12.95, allocations: 174.7 kB / 4.878 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/12.95, allocations: 389.9 kB / 4.879 GB, free: 351.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/12.95, allocations: 1.319 MB / 4.88 GB, free: 351.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/12.95, allocations: 1.206 MB / 4.881 GB, free: 350.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001746/12.95, allocations: 0.749 MB / 4.882 GB, free: 350.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/12.95, allocations: 56.73 kB / 4.882 GB, free: 350.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/12.96, allocations: 0 / 4.882 GB, free: 350.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02819/12.98, allocations: 19.88 MB / 4.901 GB, free: 349.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches