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") [: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 10.0.0-master/package.mo): time 2.057/2.057, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001216/0.001217, allocations: 181.2 kB / 490.8 MB, free: 1.996 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.491/1.491, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0009961/0.0009961, allocations: 88.67 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.959e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.119/4.4, allocations: 1.869 GB / 3.081 GB, free: 386.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/4.401, allocations: 92.66 kB / 3.081 GB, free: 386.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.477/9.878, allocations: 1.804 GB / 4.885 GB, free: 351.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001379/9.878, allocations: 31.94 kB / 4.885 GB, free: 351.1 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.004437/9.882, allocations: 1.186 MB / 4.886 GB, free: 350.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/9.882, allocations: 8.125 kB / 4.886 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/9.884, allocations: 192.8 kB / 4.886 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/9.888, allocations: 1.371 MB / 4.887 GB, free: 349.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/9.888, allocations: 15.25 kB / 4.887 GB, free: 349.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/9.888, allocations: 39.69 kB / 4.887 GB, free: 349.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008305/9.889, allocations: 0.511 MB / 4.888 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/9.889, allocations: 0.7101 MB / 4.889 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/9.889, allocations: 3.938 kB / 4.889 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/9.89, allocations: 8.719 kB / 4.889 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/9.89, allocations: 13.53 kB / 4.889 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003977/9.894, allocations: 4.153 MB / 4.893 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/9.894, allocations: 487.7 kB / 4.893 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/9.895, allocations: 341.7 kB / 4.894 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/9.895, allocations: 196.8 kB / 4.894 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/9.895, allocations: 292.3 kB / 4.894 GB, free: 345.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/9.895, allocations: 0 / 4.894 GB, free: 345.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001894/9.897, allocations: 0.8132 MB / 4.895 GB, free: 345.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/9.897, allocations: 89.66 kB / 4.895 GB, free: 345.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/9.898, allocations: 0.8742 MB / 4.896 GB, free: 344.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/9.898, allocations: 29.42 kB / 4.896 GB, free: 344.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/9.899, allocations: 333.3 kB / 4.896 GB, free: 344.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/9.899, allocations: 112.7 kB / 4.896 GB, free: 344.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/9.899, allocations: 0 / 4.896 GB, free: 344.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/9.899, allocations: 328.4 kB / 4.897 GB, free: 344.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/9.899, allocations: 209.1 kB / 4.897 GB, free: 344.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/9.899, allocations: 0.527 MB / 4.897 GB, free: 343.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/9.9, allocations: 301 kB / 4.898 GB, free: 343.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/9.9, allocations: 0 / 4.898 GB, free: 343.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001737/9.902, allocations: 0.9442 MB / 4.898 GB, free: 343.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003823/9.902, allocations: 2.095 MB / 4.9 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/9.902, allocations: 11.55 kB / 4.9 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/9.903, allocations: 251.8 kB / 4.901 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/9.903, allocations: 73.12 kB / 4.901 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/9.904, allocations: 1.185 MB / 4.902 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/9.905, allocations: 99.52 kB / 4.902 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/9.905, allocations: 28.38 kB / 4.902 GB, free: 340.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/9.905, allocations: 4.719 kB / 4.902 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00122/9.907, allocations: 0.6429 MB / 4.903 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/9.907, allocations: 4.844 kB / 4.903 GB, free: 340.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/9.907, allocations: 221 kB / 4.903 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/9.908, allocations: 73.52 kB / 4.903 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/9.911, allocations: 2.795 MB / 4.906 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/9.912, allocations: 97.61 kB / 4.906 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/9.912, allocations: 22.47 kB / 4.906 GB, free: 338 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.0002036/9.912, allocations: 128.7 kB / 4.906 GB, free: 337.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/9.913, allocations: 96.22 kB / 4.906 GB, free: 337.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/9.914, allocations: 0.7183 MB / 4.907 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/9.914, allocations: 3.562 kB / 4.907 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/9.914, allocations: 0.8125 kB / 4.907 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/9.914, allocations: 5.188 kB / 4.907 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/9.916, allocations: 1.611 MB / 4.908 GB, free: 336.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/9.916, allocations: 0 / 4.908 GB, free: 336.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/9.917, allocations: 35.25 kB / 4.908 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003966/9.917, allocations: 204.2 kB / 4.909 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/9.917, allocations: 7.844 kB / 4.909 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/9.918, allocations: 1.044 MB / 4.91 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/9.918, allocations: 1.969 kB / 4.91 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001203/9.919, allocations: 0.9207 MB / 4.91 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/9.92, allocations: 224.9 kB / 4.911 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/9.92, allocations: 6.781 kB / 4.911 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/9.92, allocations: 63.98 kB / 4.911 GB, free: 334.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/9.92, allocations: 24.41 kB / 4.911 GB, free: 334.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/9.921, allocations: 13.05 kB / 4.911 GB, free: 334.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001004/9.922, allocations: 0.6877 MB / 4.911 GB, free: 334.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002012/9.924, allocations: 0.4978 MB / 4.912 GB, free: 334.3 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.001713/9.925, allocations: 1.042 MB / 4.913 GB, free: 333.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001881/9.927, allocations: 0.97 MB / 4.914 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/9.927, allocations: 0.7812 kB / 4.914 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/9.928, allocations: 223.5 kB / 4.914 GB, free: 333.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/9.93, allocations: 0.5192 MB / 4.915 GB, free: 333.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/9.933, allocations: 1.409 MB / 4.916 GB, free: 332.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009655/9.934, allocations: 1.258 MB / 4.917 GB, free: 331.5 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/9.934, allocations: 0 / 4.917 GB, free: 331.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03677/9.971, allocations: 24.54 MB / 4.941 GB, free: 307.7 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