Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,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.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,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.ParallelDp") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.001014/0.001014, allocations: 173.3 kB / 316 MB, free: 3.535 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.068/1.068, allocations: 205.2 MB / 0.5667 GB, free: 15.75 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.0008393/0.0008393, allocations: 91.33 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.762e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.172/3.318, allocations: 2.185 GB / 3.069 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/3.319, allocations: 90.69 kB / 3.069 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.45/5.769, allocations: 0.9391 GB / 4.008 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.842e-05/5.769, allocations: 34.5 kB / 4.008 GB, free: 194.7 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.003011/5.772, allocations: 1.189 MB / 4.01 GB, free: 194 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/5.772, allocations: 13.88 kB / 4.01 GB, free: 194 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/5.773, allocations: 190.9 kB / 4.01 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/5.776, allocations: 1.392 MB / 4.011 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/5.776, allocations: 20.39 kB / 4.011 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/5.776, allocations: 41.16 kB / 4.011 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007192/5.777, allocations: 0.5031 MB / 4.012 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/5.778, allocations: 0.7076 MB / 4.012 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/5.778, allocations: 9.469 kB / 4.012 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/5.778, allocations: 3.312 kB / 4.012 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/5.778, allocations: 12.97 kB / 4.012 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/5.781, allocations: 4.167 MB / 4.016 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/5.781, allocations: 454.1 kB / 4.017 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/5.782, allocations: 328.9 kB / 4.017 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/5.782, allocations: 195.8 kB / 4.017 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/5.782, allocations: 279.8 kB / 4.018 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/5.782, allocations: 0 / 4.018 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.0008473/5.783, allocations: 0.5203 MB / 4.018 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/5.783, allocations: 85.95 kB / 4.018 GB, free: 188 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/5.784, allocations: 0.8815 MB / 4.019 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/5.784, allocations: 28.52 kB / 4.019 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/5.784, allocations: 334.3 kB / 4.019 GB, free: 187.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/5.784, allocations: 111.2 kB / 4.02 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/5.784, allocations: 0 / 4.02 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/5.784, allocations: 331.8 kB / 4.02 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/5.785, allocations: 196.9 kB / 4.02 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/5.785, allocations: 0.5176 MB / 4.021 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/5.785, allocations: 298.9 kB / 4.021 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/5.785, allocations: 1.375 kB / 4.021 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007102/5.786, allocations: 0.6459 MB / 4.022 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/5.786, allocations: 2.093 MB / 4.024 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/5.786, allocations: 7.719 kB / 4.024 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/5.787, allocations: 11.66 kB / 4.024 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/5.788, allocations: 304.8 kB / 4.024 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/5.791, allocations: 6.243 MB / 4.03 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/5.792, allocations: 98.38 kB / 4.03 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/5.792, allocations: 23.44 kB / 4.03 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/5.792, allocations: 3.812 kB / 4.03 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004976/5.792, allocations: 446.1 kB / 4.031 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/5.792, allocations: 7.812 kB / 4.031 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/5.792, allocations: 7.906 kB / 4.031 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/5.793, allocations: 153.1 kB / 4.031 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/5.793, allocations: 15.7 kB / 4.031 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/5.793, allocations: 86.11 kB / 4.031 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/5.794, allocations: 27.3 kB / 4.031 GB, free: 176.9 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): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/5.794, allocations: 128.5 kB / 4.031 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/5.794, allocations: 97.09 kB / 4.031 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/5.794, allocations: 491 kB / 4.031 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/5.794, allocations: 11.83 kB / 4.031 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.794, allocations: 3.906 kB / 4.031 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/5.794, allocations: 7.891 kB / 4.031 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/5.796, allocations: 1.352 MB / 4.033 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/5.796, allocations: 7.875 kB / 4.033 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/5.797, allocations: 159.8 kB / 4.033 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/5.797, allocations: 3.938 kB / 4.033 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/5.797, allocations: 3.875 kB / 4.033 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/5.798, allocations: 6.091 MB / 4.039 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.798, allocations: 3.938 kB / 4.039 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005101/5.799, allocations: 0.6676 MB / 4.04 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/5.799, allocations: 222.6 kB / 4.04 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/5.799, allocations: 3.906 kB / 4.04 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/5.8, allocations: 66.95 kB / 4.04 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/5.8, allocations: 43.42 kB / 4.04 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/5.8, allocations: 11.81 kB / 4.04 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006485/5.801, allocations: 0.6812 MB / 4.041 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001112/5.802, allocations: 470 kB / 4.041 GB, free: 168.2 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/5.803, allocations: 1.111 MB / 4.042 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00265/5.805, allocations: 1.013 MB / 4.043 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/5.805, allocations: 1.156 kB / 4.043 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007867/5.806, allocations: 307.1 kB / 4.043 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/5.809, allocations: 0.5294 MB / 4.044 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/5.81, allocations: 1.414 MB / 4.045 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/5.811, allocations: 1.271 MB / 4.047 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/5.811, allocations: 0 / 4.047 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.03345/5.845, allocations: 24.13 MB / 4.07 GB, free: 153.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches