Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.3 MB / 402.8 MB, free: 6.645 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.00117/0.00117, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.827/1.827, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001045/0.001045, allocations: 95.89 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.535e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3582, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.838/6.196, allocations: 1.873 GB / 3.091 GB, free: 435.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/6.197, allocations: 90.81 kB / 3.091 GB, free: 435.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.224/12.42, allocations: 1.815 GB / 4.906 GB, free: 360.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.545e-06/12.42, allocations: 0 / 4.906 GB, free: 360.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001598/12.42, allocations: 35.95 kB / 4.906 GB, free: 360.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005168/12.43, allocations: 1.228 MB / 4.907 GB, free: 359.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/12.43, allocations: 9.219 kB / 4.907 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/12.43, allocations: 184.4 kB / 4.907 GB, free: 359.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/12.43, allocations: 1.414 MB / 4.909 GB, free: 359.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/12.43, allocations: 46.22 kB / 4.909 GB, free: 359.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/12.43, allocations: 57.97 kB / 4.909 GB, free: 359.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/12.43, allocations: 0.7656 MB / 4.91 GB, free: 359 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/12.43, allocations: 7.469 kB / 4.91 GB, free: 359 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/12.43, allocations: 21.03 kB / 4.91 GB, free: 359 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/12.43, allocations: 13.16 kB / 4.91 GB, free: 359 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/12.43, allocations: 0.4922 MB / 4.91 GB, free: 359 MB / 1.167 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.004538/12.44, allocations: 4.229 MB / 4.914 GB, free: 356.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/12.44, allocations: 372.5 kB / 4.915 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/12.44, allocations: 303 kB / 4.915 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/12.44, allocations: 190.8 kB / 4.915 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/12.44, allocations: 289.2 kB / 4.915 GB, free: 355.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005081/12.44, allocations: 36.25 kB / 4.915 GB, free: 355.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/12.44, allocations: 0 / 4.915 GB, free: 355.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001046/12.44, allocations: 479.2 kB / 4.916 GB, free: 355.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/12.44, allocations: 91.36 kB / 4.916 GB, free: 355.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/12.44, allocations: 1.004 MB / 4.917 GB, free: 355.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/12.44, allocations: 39.02 kB / 4.917 GB, free: 355.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/12.44, allocations: 492.4 kB / 4.917 GB, free: 355.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/12.44, allocations: 112.2 kB / 4.917 GB, free: 355.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/12.44, allocations: 10.09 kB / 4.918 GB, free: 355.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/12.44, allocations: 327.1 kB / 4.918 GB, free: 355 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/12.44, allocations: 173.2 kB / 4.918 GB, free: 355 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/12.44, allocations: 0.4992 MB / 4.918 GB, free: 354.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/12.44, allocations: 295.4 kB / 4.919 GB, free: 354.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/12.44, allocations: 4.406 kB / 4.919 GB, free: 354.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001072/12.45, allocations: 0.6666 MB / 4.919 GB, free: 354.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005323/12.45, allocations: 2.142 MB / 4.921 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/12.45, allocations: 6.375 kB / 4.921 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/12.45, allocations: 12.17 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/12.45, allocations: 115.5 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/12.45, allocations: 14.05 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/12.45, allocations: 96.97 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/12.45, allocations: 27.75 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/12.45, allocations: 3.062 kB / 4.922 GB, free: 352.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007978/12.45, allocations: 0.5164 MB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/12.45, allocations: 6.031 kB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/12.45, allocations: 12.47 kB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/12.45, allocations: 114.2 kB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/12.45, allocations: 12.62 kB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/12.45, allocations: 86.22 kB / 4.922 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/12.45, allocations: 22.47 kB / 4.923 GB, free: 352.2 MB / 1.167 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 (55): * Single equations (assignments): 54 * 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.0001595/12.45, allocations: 153 kB / 4.923 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/12.45, allocations: 103.5 kB / 4.923 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009226/12.45, allocations: 0.4944 MB / 4.923 GB, free: 352 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/12.45, allocations: 3.938 kB / 4.923 GB, free: 352 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/12.45, allocations: 0.5312 kB / 4.923 GB, free: 352 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/12.45, allocations: 1.156 kB / 4.923 GB, free: 352 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/12.45, allocations: 1.432 MB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/12.45, allocations: 4.125 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/12.45, allocations: 76.91 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/12.45, allocations: 6.422 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/12.45, allocations: 8.844 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/12.45, allocations: 3.844 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/12.45, allocations: 5.25 kB / 4.925 GB, free: 351.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/12.46, allocations: 0.6973 MB / 4.925 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/12.46, allocations: 232.8 kB / 4.926 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/12.46, allocations: 9.625 kB / 4.926 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/12.46, allocations: 66.97 kB / 4.926 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/12.46, allocations: 33.55 kB / 4.926 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/12.46, allocations: 17.47 kB / 4.926 GB, free: 351 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00133/12.46, allocations: 0.7963 MB / 4.927 GB, free: 350.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.6e-07/12.46, allocations: 4.125 kB / 4.927 GB, free: 350.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001763/12.46, allocations: 497.4 kB / 4.927 GB, free: 350.9 MB / 1.167 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 (33): * Single equations (assignments): 31 * 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.001655/12.46, allocations: 0.9802 MB / 4.928 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001373/12.46, allocations: 0.8376 MB / 4.929 GB, free: 350.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/12.46, allocations: 3.844 kB / 4.929 GB, free: 350.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/12.46, allocations: 207.6 kB / 4.929 GB, free: 350.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/12.47, allocations: 0.6296 MB / 4.93 GB, free: 350.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/12.47, allocations: 1.378 MB / 4.931 GB, free: 350.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/12.47, allocations: 1.2 MB / 4.932 GB, free: 349.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002201/12.47, allocations: 0.8076 MB / 4.933 GB, free: 349.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/12.47, allocations: 60.83 kB / 4.933 GB, free: 349.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.824e-06/12.47, allocations: 0 / 4.933 GB, free: 349.4 MB / 1.167 GB Notification: Performance of Templates: time 0.04741/12.52, allocations: 34.52 MB / 4.967 GB, free: 345.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches