Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.994/1.994, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001125/0.001125, allocations: 186.6 kB / 490.8 MB, free: 1.938 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.344/1.344, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009399/0.0009398, allocations: 96.48 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.386e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2933, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.141/4.434, allocations: 1.872 GB / 3.083 GB, free: 433.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/4.435, allocations: 91.77 kB / 3.083 GB, free: 433.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.912/7.347, allocations: 0.9805 GB / 4.064 GB, free: 353.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000163/7.347, allocations: 35.34 kB / 4.064 GB, free: 353.4 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.004393/7.351, allocations: 1.197 MB / 4.065 GB, free: 352.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/7.351, allocations: 8.031 kB / 4.065 GB, free: 352.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/7.353, allocations: 193.3 kB / 4.065 GB, free: 352.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/7.357, allocations: 1.396 MB / 4.067 GB, free: 350.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/7.357, allocations: 22.23 kB / 4.067 GB, free: 350.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/7.357, allocations: 36 kB / 4.067 GB, free: 350.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008479/7.358, allocations: 0.5056 MB / 4.067 GB, free: 350.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/7.359, allocations: 0.7085 MB / 4.068 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/7.359, allocations: 3.938 kB / 4.068 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/7.359, allocations: 4 kB / 4.068 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/7.359, allocations: 12 kB / 4.068 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/7.362, allocations: 4.158 MB / 4.072 GB, free: 345.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/7.363, allocations: 456.8 kB / 4.072 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/7.363, allocations: 328.6 kB / 4.073 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/7.363, allocations: 198.1 kB / 4.073 GB, free: 344.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/7.364, allocations: 286.8 kB / 4.073 GB, free: 343.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/7.364, allocations: 0 / 4.073 GB, free: 343.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0009309/7.365, allocations: 0.5237 MB / 4.074 GB, free: 343.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/7.365, allocations: 93.03 kB / 4.074 GB, free: 343.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/7.366, allocations: 0.8706 MB / 4.075 GB, free: 342.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/7.366, allocations: 33.7 kB / 4.075 GB, free: 342.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/7.366, allocations: 328.6 kB / 4.075 GB, free: 341.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/7.366, allocations: 113 kB / 4.075 GB, free: 341.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/7.366, allocations: 7.25 kB / 4.075 GB, free: 341.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/7.366, allocations: 326 kB / 4.075 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/7.366, allocations: 196.9 kB / 4.076 GB, free: 341.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/7.367, allocations: 0.5255 MB / 4.076 GB, free: 340.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/7.367, allocations: 289.7 kB / 4.076 GB, free: 340.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/7.367, allocations: 4 kB / 4.076 GB, free: 340.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007351/7.368, allocations: 0.647 MB / 4.077 GB, free: 339.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003621/7.368, allocations: 2.097 MB / 4.079 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/7.368, allocations: 4 kB / 4.079 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/7.368, allocations: 11.94 kB / 4.079 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/7.37, allocations: 301.7 kB / 4.079 GB, free: 337.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/7.372, allocations: 6.237 MB / 4.085 GB, free: 330.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/7.373, allocations: 100.4 kB / 4.086 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/7.373, allocations: 28 kB / 4.086 GB, free: 330.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/7.373, allocations: 4 kB / 4.086 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005247/7.374, allocations: 444.9 kB / 4.086 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/7.374, allocations: 11.91 kB / 4.086 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/7.374, allocations: 8 kB / 4.086 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/7.375, allocations: 154.6 kB / 4.086 GB, free: 330 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/7.375, allocations: 8 kB / 4.086 GB, free: 330 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/7.375, allocations: 90.45 kB / 4.086 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/7.375, allocations: 30.94 kB / 4.086 GB, free: 329.9 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.0001333/7.375, allocations: 127.8 kB / 4.086 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/7.376, allocations: 94.78 kB / 4.087 GB, free: 329.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/7.376, allocations: 0.4898 MB / 4.087 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/7.376, allocations: 4 kB / 4.087 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/7.376, allocations: 4 kB / 4.087 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/7.376, allocations: 0 / 4.087 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/7.378, allocations: 1.347 MB / 4.088 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/7.378, allocations: 15.88 kB / 4.088 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/7.379, allocations: 161.8 kB / 4.088 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/7.379, allocations: 4 kB / 4.088 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/7.379, allocations: 7.938 kB / 4.088 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/7.38, allocations: 6.083 MB / 4.094 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/7.38, allocations: 4.031 kB / 4.094 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005265/7.381, allocations: 0.672 MB / 4.095 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/7.381, allocations: 223.8 kB / 4.095 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/7.381, allocations: 4 kB / 4.095 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/7.382, allocations: 69.97 kB / 4.095 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/7.382, allocations: 27.95 kB / 4.095 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/7.382, allocations: 8 kB / 4.095 GB, free: 320.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006372/7.383, allocations: 0.6921 MB / 4.096 GB, free: 319.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001264/7.384, allocations: 472.8 kB / 4.097 GB, free: 319.1 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.001294/7.385, allocations: 1.098 MB / 4.098 GB, free: 318.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002808/7.388, allocations: 1.025 MB / 4.099 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/7.388, allocations: 4.062 kB / 4.099 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/7.389, allocations: 307.6 kB / 4.099 GB, free: 316.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/7.391, allocations: 0.5329 MB / 4.099 GB, free: 316.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/7.393, allocations: 1.409 MB / 4.101 GB, free: 314.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/7.394, allocations: 1.268 MB / 4.102 GB, free: 313.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/7.394, allocations: 4 kB / 4.102 GB, free: 313.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03394/7.428, allocations: 24.12 MB / 4.126 GB, free: 289.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches