Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.027/2.027, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001519/0.001519, allocations: 185.3 kB / 487 MB, free: 5.344 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.504/1.504, allocations: 221.4 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.00116/0.00116, allocations: 95.58 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.937e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.363/4.684, allocations: 1.871 GB / 3.076 GB, free: 431.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/4.685, allocations: 84.89 kB / 3.076 GB, free: 431.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.071/7.756, allocations: 0.9805 GB / 4.057 GB, free: 331.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.163e-05/7.756, allocations: 27.12 kB / 4.057 GB, free: 331.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003297/7.759, allocations: 1.201 MB / 4.058 GB, free: 329.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/7.759, allocations: 9.031 kB / 4.058 GB, free: 329.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/7.76, allocations: 186.4 kB / 4.058 GB, free: 329.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/7.763, allocations: 1.402 MB / 4.06 GB, free: 328.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/7.763, allocations: 19.98 kB / 4.06 GB, free: 328.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/7.763, allocations: 36 kB / 4.06 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006803/7.764, allocations: 0.5094 MB / 4.06 GB, free: 327.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/7.765, allocations: 0.7011 MB / 4.061 GB, free: 327 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/7.765, allocations: 4 kB / 4.061 GB, free: 327 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/7.765, allocations: 0 / 4.061 GB, free: 327 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/7.765, allocations: 20 kB / 4.061 GB, free: 326.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/7.768, allocations: 4.183 MB / 4.065 GB, free: 322.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/7.769, allocations: 447.8 kB / 4.065 GB, free: 322.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/7.769, allocations: 326.4 kB / 4.066 GB, free: 321.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/7.769, allocations: 194.2 kB / 4.066 GB, free: 321.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/7.769, allocations: 286.7 kB / 4.066 GB, free: 321.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/7.769, allocations: 0 / 4.066 GB, free: 321.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008989/7.77, allocations: 0.528 MB / 4.067 GB, free: 320.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/7.77, allocations: 85.11 kB / 4.067 GB, free: 320.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/7.771, allocations: 0.8757 MB / 4.067 GB, free: 319.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/7.771, allocations: 33.64 kB / 4.068 GB, free: 319.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/7.771, allocations: 332.2 kB / 4.068 GB, free: 319.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/7.771, allocations: 114.4 kB / 4.068 GB, free: 319.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/7.772, allocations: 0 / 4.068 GB, free: 319.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/7.772, allocations: 322 kB / 4.068 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/7.772, allocations: 204.9 kB / 4.068 GB, free: 318.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/7.772, allocations: 0.5276 MB / 4.069 GB, free: 318 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/7.772, allocations: 286.1 kB / 4.069 GB, free: 317.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/7.772, allocations: 4 kB / 4.069 GB, free: 317.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007327/7.773, allocations: 0.6452 MB / 4.07 GB, free: 317.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003723/7.774, allocations: 2.101 MB / 4.072 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/7.774, allocations: 4 kB / 4.072 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/7.774, allocations: 8 kB / 4.072 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/7.775, allocations: 295.4 kB / 4.072 GB, free: 314.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/7.778, allocations: 6.239 MB / 4.078 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/7.779, allocations: 95.7 kB / 4.078 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/7.779, allocations: 31.89 kB / 4.078 GB, free: 307.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/7.779, allocations: 4 kB / 4.078 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005322/7.78, allocations: 457.8 kB / 4.079 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/7.78, allocations: 8 kB / 4.079 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/7.78, allocations: 8 kB / 4.079 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/7.78, allocations: 156 kB / 4.079 GB, free: 307.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/7.78, allocations: 11.94 kB / 4.079 GB, free: 307.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/7.781, allocations: 95.59 kB / 4.079 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/7.781, allocations: 20 kB / 4.079 GB, free: 307.2 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 (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.0001516/7.781, allocations: 128.9 kB / 4.079 GB, free: 307.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/7.782, allocations: 102.8 kB / 4.079 GB, free: 307 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/7.782, allocations: 486.8 kB / 4.08 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/7.782, allocations: 4 kB / 4.08 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.782, allocations: 0 / 4.08 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/7.782, allocations: 4 kB / 4.08 GB, free: 306.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/7.784, allocations: 1.359 MB / 4.081 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/7.784, allocations: 4 kB / 4.081 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/7.785, allocations: 163.5 kB / 4.081 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/7.785, allocations: 4 kB / 4.081 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/7.785, allocations: 11.89 kB / 4.081 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/7.787, allocations: 6.079 MB / 4.087 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/7.787, allocations: 7.969 kB / 4.087 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005663/7.787, allocations: 0.6736 MB / 4.088 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/7.787, allocations: 223.8 kB / 4.088 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/7.788, allocations: 8 kB / 4.088 GB, free: 297.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/7.788, allocations: 67.77 kB / 4.088 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/7.788, allocations: 31.89 kB / 4.088 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/7.788, allocations: 12 kB / 4.088 GB, free: 297.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007045/7.789, allocations: 0.6925 MB / 4.089 GB, free: 296.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001407/7.791, allocations: 467.3 kB / 4.089 GB, free: 296.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_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.00138/7.792, allocations: 1.111 MB / 4.09 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002889/7.795, allocations: 1.014 MB / 4.091 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/7.795, allocations: 3.938 kB / 4.091 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/7.796, allocations: 305 kB / 4.092 GB, free: 294 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/7.798, allocations: 0.5343 MB / 4.092 GB, free: 293.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/7.8, allocations: 1.404 MB / 4.094 GB, free: 292 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/7.801, allocations: 1.268 MB / 4.095 GB, free: 290.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/7.801, allocations: 4 kB / 4.095 GB, free: 290.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0347/7.836, allocations: 24.11 MB / 4.118 GB, free: 266.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches