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.313/2.313, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001351/0.001352, allocations: 179.4 kB / 0.4902 GB, free: 2.254 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.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009493/0.0009493, allocations: 102.9 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.251, allocations: 1.873 GB / 3.102 GB, free: 111 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/5.252, allocations: 96.5 kB / 3.102 GB, free: 110.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.046/12.3, allocations: 1.816 GB / 4.918 GB, free: 81.83 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.335e-06/12.3, allocations: 4 kB / 4.918 GB, free: 81.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001111/12.3, allocations: 27.98 kB / 4.918 GB, free: 81.8 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.00496/12.3, allocations: 1.519 MB / 4.919 GB, free: 80.22 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/12.3, allocations: 12.83 kB / 4.919 GB, free: 80.21 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/12.3, allocations: 186.5 kB / 4.919 GB, free: 80.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/12.31, allocations: 1.416 MB / 4.921 GB, free: 78.55 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/12.31, allocations: 53 kB / 4.921 GB, free: 78.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/12.31, allocations: 56 kB / 4.921 GB, free: 78.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/12.31, allocations: 0.7966 MB / 4.922 GB, free: 77.57 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/12.31, allocations: 0 / 4.922 GB, free: 77.57 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/12.31, allocations: 24 kB / 4.922 GB, free: 77.54 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/12.31, allocations: 12 kB / 4.922 GB, free: 77.53 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/12.31, allocations: 0.5345 MB / 4.922 GB, free: 77 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00393/12.31, allocations: 4.232 MB / 4.926 GB, free: 72.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/12.31, allocations: 425.6 kB / 4.927 GB, free: 72.07 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/12.31, allocations: 190.4 kB / 4.927 GB, free: 71.85 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/12.32, allocations: 311.1 kB / 4.927 GB, free: 71.52 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00036/12.32, allocations: 35.59 kB / 4.927 GB, free: 71.49 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/12.32, allocations: 0 / 4.927 GB, free: 71.49 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001227/12.32, allocations: 0.6813 MB / 4.928 GB, free: 70.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/12.32, allocations: 85.09 kB / 4.928 GB, free: 70.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/12.32, allocations: 1.013 MB / 4.929 GB, free: 69.67 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/12.32, allocations: 41.7 kB / 4.929 GB, free: 69.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/12.32, allocations: 488.8 kB / 4.93 GB, free: 69.14 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/12.32, allocations: 122.3 kB / 4.93 GB, free: 69.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/12.32, allocations: 12 kB / 4.93 GB, free: 69.01 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/12.32, allocations: 318 kB / 4.93 GB, free: 68.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/12.32, allocations: 201 kB / 4.93 GB, free: 68.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/12.32, allocations: 0.5263 MB / 4.931 GB, free: 67.83 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/12.32, allocations: 304.7 kB / 4.931 GB, free: 67.53 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/12.32, allocations: 0 / 4.931 GB, free: 67.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009437/12.32, allocations: 0.7139 MB / 4.932 GB, free: 66.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004745/12.32, allocations: 2.136 MB / 4.934 GB, free: 64.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/12.32, allocations: 11.98 kB / 4.934 GB, free: 64.49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/12.32, allocations: 12.11 kB / 4.934 GB, free: 64.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/12.32, allocations: 119.7 kB / 4.934 GB, free: 64.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/12.32, allocations: 11.98 kB / 4.934 GB, free: 64.35 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009878/12.32, allocations: 83.81 kB / 4.934 GB, free: 64.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/12.32, allocations: 31.98 kB / 4.934 GB, free: 64.24 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/12.32, allocations: 4 kB / 4.934 GB, free: 64.23 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000774/12.32, allocations: 0.5654 MB / 4.935 GB, free: 63.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/12.32, allocations: 4 kB / 4.935 GB, free: 63.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/12.32, allocations: 11.95 kB / 4.935 GB, free: 63.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/12.32, allocations: 116.2 kB / 4.935 GB, free: 63.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/12.32, allocations: 8 kB / 4.935 GB, free: 63.53 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/12.32, allocations: 95.75 kB / 4.935 GB, free: 63.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/12.32, allocations: 24 kB / 4.935 GB, free: 63.41 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 () * Number of clocked 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.0005346/12.33, allocations: 468.7 kB / 4.935 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/12.33, allocations: 98.78 kB / 4.935 GB, free: 62.84 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/12.33, allocations: 0.5464 MB / 4.936 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/12.33, allocations: 8 kB / 4.936 GB, free: 62.28 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/12.33, allocations: 0 / 4.936 GB, free: 62.28 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/12.33, allocations: 4 kB / 4.936 GB, free: 62.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/12.33, allocations: 1.464 MB / 4.937 GB, free: 60.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/12.33, allocations: 0 / 4.937 GB, free: 60.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/12.33, allocations: 67.89 kB / 4.937 GB, free: 60.67 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/12.33, allocations: 4 kB / 4.937 GB, free: 60.66 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/12.33, allocations: 11.98 kB / 4.937 GB, free: 60.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/12.33, allocations: 7.938 kB / 4.937 GB, free: 60.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/12.33, allocations: 4 kB / 4.937 GB, free: 60.64 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/12.33, allocations: 0.7486 MB / 4.938 GB, free: 59.82 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/12.33, allocations: 227.7 kB / 4.938 GB, free: 59.58 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/12.33, allocations: 8 kB / 4.938 GB, free: 59.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/12.33, allocations: 67.86 kB / 4.939 GB, free: 59.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/12.33, allocations: 35.84 kB / 4.939 GB, free: 59.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/12.33, allocations: 16 kB / 4.939 GB, free: 59.45 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008667/12.33, allocations: 0.8042 MB / 4.939 GB, free: 58.64 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/12.33, allocations: 0 / 4.939 GB, free: 58.64 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001553/12.33, allocations: 0.4996 MB / 4.94 GB, free: 58.14 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) * Number of clocked states: 0 () * 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.001527/12.33, allocations: 0.9792 MB / 4.941 GB, free: 57.16 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001309/12.34, allocations: 0.8699 MB / 4.942 GB, free: 56.27 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/12.34, allocations: 0 / 4.942 GB, free: 56.27 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/12.34, allocations: 224.4 kB / 4.942 GB, free: 56.05 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/12.34, allocations: 0.6336 MB / 4.942 GB, free: 55.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/12.34, allocations: 1.968 MB / 4.944 GB, free: 53.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/12.34, allocations: 1.197 MB / 4.946 GB, free: 52.18 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001179/12.34, allocations: 408.2 kB / 4.946 GB, free: 51.77 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/12.34, allocations: 79.42 kB / 4.946 GB, free: 51.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.013e-06/12.34, allocations: 0 / 4.946 GB, free: 51.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0445/12.39, allocations: 29.96 MB / 4.975 GB, free: 21.93 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