Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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 9.1.1-maint.9.1.x/package.mo): time 1.964/1.964, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00134/0.00134, allocations: 180.6 kB / 487 MB, free: 5.359 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.362/1.362, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.001021/0.001021, allocations: 90.14 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.365/4.65, allocations: 1.871 GB / 3.076 GB, free: 436.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/4.65, allocations: 92.56 kB / 3.076 GB, free: 436.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.051/10.7, allocations: 1.814 GB / 4.891 GB, free: 361.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001032/10.7, allocations: 30.47 kB / 4.891 GB, free: 361.2 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00208/10.7, allocations: 1.142 MB / 4.892 GB, free: 360.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/10.7, allocations: 7.156 kB / 4.892 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/10.7, allocations: 193.3 kB / 4.892 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/10.71, allocations: 1.114 MB / 4.893 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/10.71, allocations: 19.5 kB / 4.893 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/10.71, allocations: 36.56 kB / 4.893 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009083/10.71, allocations: 486.8 kB / 4.893 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/10.71, allocations: 0.6829 MB / 4.894 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/10.71, allocations: 5.219 kB / 4.894 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/10.71, allocations: 2.562 kB / 4.894 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/10.71, allocations: 13.25 kB / 4.894 GB, free: 360.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/10.71, allocations: 4.667 MB / 4.899 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/10.71, allocations: 444.2 kB / 4.899 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/10.72, allocations: 254.5 kB / 4.899 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/10.72, allocations: 197.6 kB / 4.9 GB, free: 356.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/10.72, allocations: 262.6 kB / 4.9 GB, free: 356.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/10.72, allocations: 1.406 kB / 4.9 GB, free: 356.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.00221/10.72, allocations: 0.7786 MB / 4.901 GB, free: 356.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/10.72, allocations: 87.42 kB / 4.901 GB, free: 356.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/10.72, allocations: 0.8783 MB / 4.902 GB, free: 355.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/10.72, allocations: 27.95 kB / 4.902 GB, free: 355.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/10.72, allocations: 342.1 kB / 4.902 GB, free: 355.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/10.72, allocations: 102 kB / 4.902 GB, free: 355.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/10.72, allocations: 1.281 kB / 4.902 GB, free: 355.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/10.72, allocations: 327 kB / 4.902 GB, free: 355.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/10.72, allocations: 188.4 kB / 4.902 GB, free: 355.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/10.72, allocations: 0.4989 MB / 4.903 GB, free: 355 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/10.72, allocations: 280.9 kB / 4.903 GB, free: 355 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/10.72, allocations: 2.344 kB / 4.903 GB, free: 355 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001895/10.72, allocations: 0.8953 MB / 4.904 GB, free: 354.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006225/10.72, allocations: 2.097 MB / 4.906 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/10.72, allocations: 5.469 kB / 4.906 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/10.72, allocations: 234.7 kB / 4.906 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/10.72, allocations: 69.45 kB / 4.906 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/10.73, allocations: 1.142 MB / 4.908 GB, free: 352.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/10.73, allocations: 82.72 kB / 4.908 GB, free: 352.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/10.73, allocations: 28.91 kB / 4.908 GB, free: 352.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/10.73, allocations: 3 kB / 4.908 GB, free: 352.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/10.73, allocations: 0.593 MB / 4.908 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/10.73, allocations: 4.469 kB / 4.908 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/10.73, allocations: 209.4 kB / 4.908 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/10.73, allocations: 70.27 kB / 4.908 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/10.73, allocations: 2.755 MB / 4.911 GB, free: 350.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/10.73, allocations: 82.7 kB / 4.911 GB, free: 350.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/10.73, allocations: 24.28 kB / 4.911 GB, free: 350.8 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 (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/10.73, allocations: 127 kB / 4.911 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/10.73, allocations: 100 kB / 4.912 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/10.74, allocations: 0.6491 MB / 4.912 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/10.74, allocations: 7.75 kB / 4.912 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/10.74, allocations: 1.188 kB / 4.912 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/10.74, allocations: 1.828 kB / 4.912 GB, free: 350.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/10.74, allocations: 1.484 MB / 4.914 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/10.74, allocations: 2.875 kB / 4.914 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/10.74, allocations: 30.06 kB / 4.914 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/10.74, allocations: 192.2 kB / 4.914 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/10.74, allocations: 8.406 kB / 4.914 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/10.74, allocations: 1.015 MB / 4.915 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/10.74, allocations: 2.656 kB / 4.915 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001241/10.74, allocations: 0.8528 MB / 4.916 GB, free: 349.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/10.74, allocations: 213.5 kB / 4.916 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/10.74, allocations: 6.062 kB / 4.916 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/10.74, allocations: 54.95 kB / 4.916 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/10.74, allocations: 26.39 kB / 4.916 GB, free: 349 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/10.74, allocations: 14.41 kB / 4.916 GB, free: 349 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001079/10.74, allocations: 0.6886 MB / 4.917 GB, free: 348.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002041/10.75, allocations: 481 kB / 4.917 GB, free: 348.9 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/10.75, allocations: 1.1 MB / 4.918 GB, free: 348.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002071/10.75, allocations: 0.9265 MB / 4.919 GB, free: 348.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/10.75, allocations: 1.188 kB / 4.919 GB, free: 348.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004795/10.75, allocations: 207.2 kB / 4.919 GB, free: 348.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/10.75, allocations: 372.9 kB / 4.92 GB, free: 348.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/10.76, allocations: 1.394 MB / 4.921 GB, free: 348 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/10.76, allocations: 1.257 MB / 4.922 GB, free: 347.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/10.76, allocations: 0 / 4.922 GB, free: 347.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05028/10.81, allocations: 23.39 MB / 4.945 GB, free: 339.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches