Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.001/2.001, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009855/0.0009855, allocations: 184.2 kB / 490.8 MB, free: 1.926 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.422/1.422, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009104/0.0009104, allocations: 96.61 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.614e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.909/4.199, allocations: 1.869 GB / 3.081 GB, free: 196 kB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/4.199, allocations: 87.95 kB / 3.081 GB, free: 108 kB / 1.151 GB Notification: Performance of FrontEnd: time 3.326/7.525, allocations: 0.9688 GB / 4.05 GB, free: 360.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.079e-05/7.526, allocations: 26.94 kB / 4.05 GB, free: 360.6 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.001924/7.528, allocations: 1.129 MB / 4.051 GB, free: 359.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/7.528, allocations: 11.78 kB / 4.051 GB, free: 359.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008755/7.528, allocations: 194 kB / 4.051 GB, free: 359.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/7.531, allocations: 1.084 MB / 4.052 GB, free: 359.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/7.531, allocations: 21.77 kB / 4.052 GB, free: 359.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/7.531, allocations: 41.59 kB / 4.052 GB, free: 359.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007834/7.532, allocations: 490.9 kB / 4.053 GB, free: 358.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/7.532, allocations: 0.688 MB / 4.053 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/7.533, allocations: 6.469 kB / 4.053 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/7.533, allocations: 2.375 kB / 4.053 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/7.533, allocations: 16.91 kB / 4.053 GB, free: 358.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/7.536, allocations: 4.666 MB / 4.058 GB, free: 354.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/7.537, allocations: 447 kB / 4.058 GB, free: 353.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/7.537, allocations: 253.2 kB / 4.058 GB, free: 353.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/7.538, allocations: 203.5 kB / 4.059 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/7.538, allocations: 260.1 kB / 4.059 GB, free: 353.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/7.538, allocations: 6.562 kB / 4.059 GB, free: 353.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0009984/7.539, allocations: 495.4 kB / 4.059 GB, free: 353.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/7.539, allocations: 92.94 kB / 4.059 GB, free: 353.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/7.54, allocations: 0.8703 MB / 4.06 GB, free: 352.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/7.54, allocations: 28.8 kB / 4.06 GB, free: 352.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/7.54, allocations: 341.6 kB / 4.061 GB, free: 352.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/7.54, allocations: 107.1 kB / 4.061 GB, free: 352.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/7.54, allocations: 0 / 4.061 GB, free: 352.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/7.54, allocations: 323.8 kB / 4.061 GB, free: 352 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/7.541, allocations: 191.2 kB / 4.061 GB, free: 351.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/7.541, allocations: 0.5016 MB / 4.062 GB, free: 351.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/7.542, allocations: 279.3 kB / 4.062 GB, free: 351.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/7.542, allocations: 2.062 kB / 4.062 GB, free: 351.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001/7.543, allocations: 0.6228 MB / 4.063 GB, free: 351 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003796/7.543, allocations: 2.095 MB / 4.065 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/7.543, allocations: 5.938 kB / 4.065 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/7.543, allocations: 8.531 kB / 4.065 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/7.545, allocations: 285.1 kB / 4.065 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/7.549, allocations: 6.235 MB / 4.071 GB, free: 342.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/7.55, allocations: 88.8 kB / 4.071 GB, free: 342.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/7.55, allocations: 20.8 kB / 4.071 GB, free: 342.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/7.55, allocations: 3.781 kB / 4.071 GB, free: 342.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009628/7.551, allocations: 421.4 kB / 4.072 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/7.551, allocations: 8.062 kB / 4.072 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/7.551, allocations: 6.938 kB / 4.072 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/7.552, allocations: 154.3 kB / 4.072 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/7.552, allocations: 11.41 kB / 4.072 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/7.553, allocations: 87.27 kB / 4.072 GB, free: 342.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/7.553, allocations: 21.84 kB / 4.072 GB, free: 342.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 (53): * Single equations (assignments): 42 * 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.0002358/7.553, allocations: 123.5 kB / 4.072 GB, free: 342.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/7.554, allocations: 99.66 kB / 4.072 GB, free: 342.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/7.555, allocations: 456.8 kB / 4.073 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/7.555, allocations: 4.406 kB / 4.073 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/7.555, allocations: 0 / 4.073 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/7.555, allocations: 4.672 kB / 4.073 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/7.557, allocations: 1.273 MB / 4.074 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/7.557, allocations: 5 kB / 4.074 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/7.558, allocations: 149.9 kB / 4.074 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/7.558, allocations: 7.672 kB / 4.074 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/7.558, allocations: 8.219 kB / 4.074 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/7.561, allocations: 6.087 MB / 4.08 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/7.561, allocations: 2.625 kB / 4.08 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001091/7.563, allocations: 0.6525 MB / 4.081 GB, free: 334.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/7.563, allocations: 214.1 kB / 4.081 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/7.563, allocations: 7.938 kB / 4.081 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/7.564, allocations: 57.41 kB / 4.081 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/7.564, allocations: 23.97 kB / 4.081 GB, free: 334 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/7.564, allocations: 15.98 kB / 4.081 GB, free: 334 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008785/7.565, allocations: 0.6845 MB / 4.081 GB, free: 333.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00184/7.567, allocations: 450.7 kB / 4.082 GB, free: 332.8 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 (31): * Single equations (assignments): 19 * 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.001754/7.568, allocations: 1.041 MB / 4.083 GB, free: 332 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003081/7.571, allocations: 0.9493 MB / 4.084 GB, free: 331.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/7.571, allocations: 0 / 4.084 GB, free: 331.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/7.572, allocations: 284 kB / 4.084 GB, free: 330.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/7.574, allocations: 376.1 kB / 4.084 GB, free: 330.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/7.577, allocations: 1.393 MB / 4.086 GB, free: 329 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/7.577, allocations: 1.261 MB / 4.087 GB, free: 327.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/7.577, allocations: 3.438 kB / 4.087 GB, free: 327.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03424/7.612, allocations: 21.96 MB / 4.109 GB, free: 306.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches