Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,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.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,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.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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, 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.0009534/0.0009533, allocations: 169.3 kB / 316 MB, free: 3.582 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.053/1.053, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008418/0.0008418, allocations: 90.02 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.022e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.179/3.318, allocations: 2.182 GB / 3.067 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/3.319, allocations: 83.33 kB / 3.067 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.453/5.772, allocations: 0.9279 GB / 3.995 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.834e-05/5.772, allocations: 31.31 kB / 3.995 GB, free: 197.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001539/5.773, allocations: 1.126 MB / 3.996 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/5.773, allocations: 7.781 kB / 3.996 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/5.774, allocations: 190.3 kB / 3.996 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/5.776, allocations: 1.09 MB / 3.997 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/5.776, allocations: 19.53 kB / 3.997 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/5.776, allocations: 35.25 kB / 3.997 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006231/5.777, allocations: 491.2 kB / 3.997 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/5.777, allocations: 0.6909 MB / 3.998 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/5.777, allocations: 0 / 3.998 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/5.777, allocations: 7.812 kB / 3.998 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/5.777, allocations: 15.38 kB / 3.998 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/5.78, allocations: 4.658 MB / 4.003 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/5.781, allocations: 459.3 kB / 4.003 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/5.781, allocations: 252.6 kB / 4.003 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/5.782, allocations: 193.7 kB / 4.004 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/5.782, allocations: 274.8 kB / 4.004 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/5.782, allocations: 0 / 4.004 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.0009092/5.783, allocations: 498.2 kB / 4.004 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/5.783, allocations: 85 kB / 4.004 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/5.784, allocations: 0.8665 MB / 4.005 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/5.784, allocations: 29.61 kB / 4.005 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/5.784, allocations: 339 kB / 4.006 GB, free: 192 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/5.784, allocations: 106.2 kB / 4.006 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/5.784, allocations: 0 / 4.006 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/5.784, allocations: 330.8 kB / 4.006 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/5.785, allocations: 188.2 kB / 4.006 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/5.785, allocations: 0.5036 MB / 4.007 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/5.785, allocations: 272.4 kB / 4.007 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/5.785, allocations: 0 / 4.007 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007916/5.786, allocations: 0.6239 MB / 4.008 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004643/5.787, allocations: 2.107 MB / 4.01 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/5.787, allocations: 3.844 kB / 4.01 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/5.787, allocations: 16.66 kB / 4.01 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/5.788, allocations: 281.4 kB / 4.01 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/5.791, allocations: 6.231 MB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/5.792, allocations: 86.53 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/5.792, allocations: 29.59 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/5.792, allocations: 7.844 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005087/5.792, allocations: 411 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/5.792, allocations: 3.906 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/5.792, allocations: 11.83 kB / 4.016 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/5.793, allocations: 157.9 kB / 4.017 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/5.793, allocations: 11.56 kB / 4.017 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/5.793, allocations: 80.81 kB / 4.017 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/5.793, allocations: 23.47 kB / 4.017 GB, free: 183 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 (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.0001107/5.794, allocations: 133.3 kB / 4.017 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/5.794, allocations: 93.53 kB / 4.017 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/5.794, allocations: 459.5 kB / 4.017 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/5.794, allocations: 7.75 kB / 4.017 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/5.794, allocations: 0 / 4.017 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/5.794, allocations: 2.156 kB / 4.017 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/5.796, allocations: 1.282 MB / 4.019 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/5.796, allocations: 0 / 4.019 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/5.796, allocations: 162.9 kB / 4.019 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/5.796, allocations: 3.812 kB / 4.019 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/5.796, allocations: 7.094 kB / 4.019 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/5.798, allocations: 6.084 MB / 4.025 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.798, allocations: 3.938 kB / 4.025 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004779/5.799, allocations: 0.6362 MB / 4.025 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/5.799, allocations: 216.8 kB / 4.026 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/5.799, allocations: 3.938 kB / 4.026 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/5.8, allocations: 55.11 kB / 4.026 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/5.8, allocations: 29.38 kB / 4.026 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/5.8, allocations: 8.703 kB / 4.026 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006057/5.8, allocations: 0.6869 MB / 4.026 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001049/5.801, allocations: 447.7 kB / 4.027 GB, free: 175.8 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 (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.001071/5.802, allocations: 1.032 MB / 4.028 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00248/5.805, allocations: 0.9532 MB / 4.029 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/5.805, allocations: 3.906 kB / 4.029 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/5.806, allocations: 292.1 kB / 4.029 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/5.807, allocations: 366.1 kB / 4.029 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/5.809, allocations: 1.386 MB / 4.031 GB, free: 175 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/5.81, allocations: 1.267 MB / 4.032 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/5.81, allocations: 0 / 4.032 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.03367/5.843, allocations: 21.95 MB / 4.053 GB, free: 169.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches