Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,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.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,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.ParallelDpOptimised") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001005/0.001005, allocations: 193.2 kB / 316 MB, free: 3.551 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.108/1.108, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008651/0.0008651, allocations: 85.66 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.292e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.396/3.55, allocations: 2.185 GB / 3.069 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/3.55, allocations: 83.77 kB / 3.069 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.315/7.865, allocations: 1.739 GB / 4.808 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.309e-05/7.865, allocations: 31.05 kB / 4.808 GB, free: 99.9 MB / 0.8855 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.002917/7.868, allocations: 1.196 MB / 4.809 GB, free: 98.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/7.868, allocations: 12.02 kB / 4.809 GB, free: 98.65 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/7.869, allocations: 186.5 kB / 4.81 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/7.872, allocations: 1.393 MB / 4.811 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/7.872, allocations: 16 kB / 4.811 GB, free: 97.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/7.872, allocations: 36 kB / 4.811 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006063/7.873, allocations: 0.5133 MB / 4.812 GB, free: 96.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/7.873, allocations: 0.7122 MB / 4.812 GB, free: 95.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/7.873, allocations: 0 / 4.812 GB, free: 95.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/7.873, allocations: 4 kB / 4.812 GB, free: 95.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/7.873, allocations: 16 kB / 4.812 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/7.876, allocations: 4.156 MB / 4.816 GB, free: 91.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/7.877, allocations: 455.6 kB / 4.817 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/7.877, allocations: 327.5 kB / 4.817 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/7.877, allocations: 200.7 kB / 4.817 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/7.877, allocations: 278.8 kB / 4.817 GB, free: 89.99 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/7.877, allocations: 0 / 4.817 GB, free: 89.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.0008151/7.878, allocations: 0.5247 MB / 4.818 GB, free: 89.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/7.878, allocations: 93.09 kB / 4.818 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/7.879, allocations: 0.8795 MB / 4.819 GB, free: 88.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/7.879, allocations: 25.7 kB / 4.819 GB, free: 88.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/7.879, allocations: 336.2 kB / 4.819 GB, free: 88.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/7.879, allocations: 106.5 kB / 4.819 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/7.879, allocations: 0 / 4.819 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.447e-05/7.879, allocations: 333.9 kB / 4.82 GB, free: 87.65 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/7.88, allocations: 200.9 kB / 4.82 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/7.88, allocations: 0.521 MB / 4.82 GB, free: 86.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/7.88, allocations: 298.3 kB / 4.821 GB, free: 86.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/7.88, allocations: 0 / 4.821 GB, free: 86.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000699/7.881, allocations: 0.6452 MB / 4.821 GB, free: 85.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/7.881, allocations: 2.097 MB / 4.823 GB, free: 83.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/7.881, allocations: 11.98 kB / 4.823 GB, free: 83.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/7.881, allocations: 8 kB / 4.823 GB, free: 83.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/7.882, allocations: 111.9 kB / 4.823 GB, free: 83.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/7.882, allocations: 15.92 kB / 4.824 GB, free: 83.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/7.882, allocations: 95.5 kB / 4.824 GB, free: 83.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/7.883, allocations: 24 kB / 4.824 GB, free: 83.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/7.883, allocations: 4.781 kB / 4.824 GB, free: 83.32 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004726/7.883, allocations: 441.2 kB / 4.824 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/7.883, allocations: 11.98 kB / 4.824 GB, free: 82.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.311e-06/7.883, allocations: 8 kB / 4.824 GB, free: 82.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/7.883, allocations: 116.4 kB / 4.824 GB, free: 82.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/7.883, allocations: 11.94 kB / 4.824 GB, free: 82.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/7.884, allocations: 91.59 kB / 4.824 GB, free: 82.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/7.884, allocations: 24 kB / 4.824 GB, free: 82.63 MB / 0.8855 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 9.305e-05/7.884, allocations: 128.8 kB / 4.824 GB, free: 82.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/7.884, allocations: 94.78 kB / 4.825 GB, free: 82.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/7.885, allocations: 490.9 kB / 4.825 GB, free: 81.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/7.885, allocations: 4 kB / 4.825 GB, free: 81.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/7.885, allocations: 3.906 kB / 4.825 GB, free: 81.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/7.885, allocations: 7.984 kB / 4.825 GB, free: 81.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/7.886, allocations: 1.358 MB / 4.826 GB, free: 80.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/7.886, allocations: 7.984 kB / 4.826 GB, free: 80.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/7.887, allocations: 72.11 kB / 4.826 GB, free: 80.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/7.887, allocations: 4 kB / 4.826 GB, free: 80.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/7.887, allocations: 8 kB / 4.826 GB, free: 80.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/7.887, allocations: 4 kB / 4.826 GB, free: 80.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.887, allocations: 0 / 4.826 GB, free: 80.39 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004711/7.887, allocations: 0.6729 MB / 4.827 GB, free: 79.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/7.888, allocations: 223.8 kB / 4.827 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/7.888, allocations: 4 kB / 4.827 GB, free: 79.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/7.888, allocations: 79.75 kB / 4.827 GB, free: 79.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/7.888, allocations: 28.06 kB / 4.827 GB, free: 79.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/7.888, allocations: 8 kB / 4.827 GB, free: 79.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0005605/7.889, allocations: 0.6925 MB / 4.828 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001046/7.89, allocations: 471.4 kB / 4.829 GB, free: 78.12 MB / 0.8855 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.001095/7.891, allocations: 1.118 MB / 4.83 GB, free: 77.13 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007507/7.892, allocations: 0.7874 MB / 4.83 GB, free: 76.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/7.892, allocations: 0 / 4.83 GB, free: 76.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/7.892, allocations: 201 kB / 4.831 GB, free: 76.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/7.894, allocations: 0.5325 MB / 4.831 GB, free: 75.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/7.896, allocations: 1.39 MB / 4.832 GB, free: 74.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/7.897, allocations: 1.287 MB / 4.834 GB, free: 72.85 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/7.897, allocations: 0 / 4.834 GB, free: 72.85 MB / 0.8855 GB Notification: Performance of Templates: time 0.02962/7.926, allocations: 23.32 MB / 4.856 GB, free: 49.69 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches