Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 390.5 MB / 398 MB, free: 10.95 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.00114/0.00114, allocations: 168.9 kB / 491.2 MB, free: 1.566 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.674/1.674, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 90.66 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.213e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3528, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.034/6.387, allocations: 1.869 GB / 3.082 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/6.387, allocations: 90.31 kB / 3.082 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.679/13.07, allocations: 1.784 GB / 4.866 GB, free: 369.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.532e-06/13.07, allocations: 0 / 4.866 GB, free: 369.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000169/13.07, allocations: 32.33 kB / 4.866 GB, free: 369.5 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.004412/13.07, allocations: 1.224 MB / 4.867 GB, free: 369.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/13.07, allocations: 9.5 kB / 4.867 GB, free: 369.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/13.07, allocations: 192.4 kB / 4.867 GB, free: 369 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/13.08, allocations: 1.387 MB / 4.868 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/13.08, allocations: 15.56 kB / 4.869 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/13.08, allocations: 37.91 kB / 4.869 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008938/13.08, allocations: 497.8 kB / 4.869 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/13.08, allocations: 0.6984 MB / 4.87 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/13.08, allocations: 9.75 kB / 4.87 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/13.08, allocations: 3.938 kB / 4.87 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/13.08, allocations: 22.02 kB / 4.87 GB, free: 368.5 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.003537/13.08, allocations: 4.071 MB / 4.874 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/13.08, allocations: 465.7 kB / 4.874 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/13.08, allocations: 328.3 kB / 4.874 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/13.08, allocations: 198.7 kB / 4.875 GB, free: 365.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/13.08, allocations: 288.7 kB / 4.875 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003922/13.08, allocations: 10.73 kB / 4.875 GB, free: 365.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/13.08, allocations: 6.312 kB / 4.875 GB, free: 365.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001776/13.09, allocations: 0.7941 MB / 4.876 GB, free: 365.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/13.09, allocations: 80.58 kB / 4.876 GB, free: 365.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/13.09, allocations: 0.847 MB / 4.877 GB, free: 365.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/13.09, allocations: 29.52 kB / 4.877 GB, free: 365.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/13.09, allocations: 0.4925 MB / 4.877 GB, free: 364.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/13.09, allocations: 108.9 kB / 4.877 GB, free: 364.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/13.09, allocations: 1.5 kB / 4.877 GB, free: 364.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/13.09, allocations: 325.5 kB / 4.878 GB, free: 364.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/13.09, allocations: 198.1 kB / 4.878 GB, free: 364.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/13.09, allocations: 0.5122 MB / 4.878 GB, free: 364.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/13.09, allocations: 285.1 kB / 4.879 GB, free: 364.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/13.09, allocations: 1.344 kB / 4.879 GB, free: 364.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001825/13.09, allocations: 0.9283 MB / 4.879 GB, free: 364.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006937/13.09, allocations: 2.132 MB / 4.881 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/13.09, allocations: 9.219 kB / 4.882 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/13.09, allocations: 244.2 kB / 4.882 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/13.09, allocations: 70.33 kB / 4.882 GB, free: 361.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/13.09, allocations: 1.139 MB / 4.883 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/13.09, allocations: 86.23 kB / 4.883 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/13.09, allocations: 24.06 kB / 4.883 GB, free: 361.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/13.09, allocations: 4.469 kB / 4.883 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/13.1, allocations: 0.6424 MB / 4.884 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/13.1, allocations: 8.344 kB / 4.884 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/13.1, allocations: 226.4 kB / 4.884 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/13.1, allocations: 68.92 kB / 4.884 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/13.1, allocations: 2.875 MB / 4.887 GB, free: 360 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/13.1, allocations: 83.92 kB / 4.887 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/13.1, allocations: 25.97 kB / 4.887 GB, free: 359.9 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_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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001922/13.1, allocations: 125.4 kB / 4.887 GB, free: 359.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/13.1, allocations: 98.52 kB / 4.887 GB, free: 359.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/13.1, allocations: 0.7002 MB / 4.888 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/13.1, allocations: 7 kB / 4.888 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/13.1, allocations: 0 / 4.888 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/13.1, allocations: 0 / 4.888 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/13.1, allocations: 1.591 MB / 4.889 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/13.1, allocations: 3.562 kB / 4.889 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/13.1, allocations: 22.75 kB / 4.889 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/13.11, allocations: 211.2 kB / 4.89 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/13.11, allocations: 9.797 kB / 4.89 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007919/13.11, allocations: 1.004 MB / 4.891 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/13.11, allocations: 3.938 kB / 4.891 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/13.11, allocations: 0.9117 MB / 4.891 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/13.11, allocations: 218.1 kB / 4.892 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/13.11, allocations: 5.812 kB / 4.892 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/13.11, allocations: 58.53 kB / 4.892 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/13.11, allocations: 44.34 kB / 4.892 GB, free: 358.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/13.11, allocations: 7.625 kB / 4.892 GB, free: 358.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008851/13.11, allocations: 0.6602 MB / 4.892 GB, free: 358.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/13.11, allocations: 0 / 4.892 GB, free: 358.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002023/13.11, allocations: 0.5158 MB / 4.893 GB, free: 358.1 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_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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/13.11, allocations: 1.032 MB / 4.894 GB, free: 357.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001737/13.12, allocations: 1.04 MB / 4.895 GB, free: 357.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/13.12, allocations: 3.625 kB / 4.895 GB, free: 357.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/13.12, allocations: 214.7 kB / 4.895 GB, free: 357.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/13.12, allocations: 0.5327 MB / 4.896 GB, free: 357.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/13.12, allocations: 1.341 MB / 4.897 GB, free: 357.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/13.12, allocations: 1.206 MB / 4.898 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001793/13.12, allocations: 0.6669 MB / 4.899 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/13.12, allocations: 41.06 kB / 4.899 GB, free: 356.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.083e-06/13.12, allocations: 0 / 4.899 GB, free: 356.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03634/13.16, allocations: 23.46 MB / 4.922 GB, free: 352.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches