Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.134/2.134, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001179/0.001179, allocations: 191.2 kB / 487 MB, free: 5.387 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.451/1.451, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.0009398/0.00094, allocations: 100.3 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/9.027e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.357/4.628, allocations: 1.868 GB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/4.628, allocations: 91.53 kB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.382/8.01, allocations: 0.9688 GB / 4.043 GB, free: 358.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001887/8.01, allocations: 30.77 kB / 4.043 GB, free: 358.7 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.003597/8.014, allocations: 1.128 MB / 4.044 GB, free: 357.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/8.014, allocations: 9.375 kB / 4.044 GB, free: 357.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/8.015, allocations: 194.6 kB / 4.044 GB, free: 357.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/8.019, allocations: 1.094 MB / 4.045 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/8.019, allocations: 13.06 kB / 4.045 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/8.019, allocations: 41 kB / 4.045 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/8.02, allocations: 494 kB / 4.045 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/8.021, allocations: 0.6825 MB / 4.046 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/8.021, allocations: 5.812 kB / 4.046 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/8.022, allocations: 2.219 kB / 4.046 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/8.022, allocations: 14.69 kB / 4.046 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/8.027, allocations: 4.664 MB / 4.051 GB, free: 352.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/8.028, allocations: 450.9 kB / 4.051 GB, free: 352.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/8.028, allocations: 250.7 kB / 4.051 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/8.028, allocations: 203.2 kB / 4.052 GB, free: 351.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/8.029, allocations: 261.8 kB / 4.052 GB, free: 351.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.976e-06/8.029, allocations: 0 / 4.052 GB, free: 351.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.00155/8.03, allocations: 0.502 MB / 4.052 GB, free: 351.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/8.031, allocations: 85.44 kB / 4.052 GB, free: 351.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/8.032, allocations: 0.8755 MB / 4.053 GB, free: 350.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/8.032, allocations: 31.7 kB / 4.053 GB, free: 350.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/8.033, allocations: 338.8 kB / 4.054 GB, free: 350.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/8.033, allocations: 100.3 kB / 4.054 GB, free: 350.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/8.033, allocations: 1.031 kB / 4.054 GB, free: 350.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/8.033, allocations: 327.2 kB / 4.054 GB, free: 350.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/8.033, allocations: 191.4 kB / 4.054 GB, free: 350 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/8.034, allocations: 0.4989 MB / 4.055 GB, free: 349.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/8.034, allocations: 282.3 kB / 4.055 GB, free: 349.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/8.034, allocations: 1.469 kB / 4.055 GB, free: 349.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001278/8.036, allocations: 0.6182 MB / 4.056 GB, free: 349.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000594/8.036, allocations: 2.101 MB / 4.058 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/8.036, allocations: 6.094 kB / 4.058 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.18e-05/8.036, allocations: 12.44 kB / 4.058 GB, free: 346.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/8.038, allocations: 274.7 kB / 4.058 GB, free: 346.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/8.042, allocations: 6.241 MB / 4.064 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/8.043, allocations: 82.3 kB / 4.064 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/8.043, allocations: 24.94 kB / 4.064 GB, free: 340.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/8.043, allocations: 5.219 kB / 4.064 GB, free: 340.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008595/8.044, allocations: 424.7 kB / 4.064 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/8.044, allocations: 8.812 kB / 4.064 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/8.044, allocations: 12.94 kB / 4.064 GB, free: 340.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/8.045, allocations: 149.4 kB / 4.065 GB, free: 340.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/8.045, allocations: 12.16 kB / 4.065 GB, free: 340.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/8.046, allocations: 78.56 kB / 4.065 GB, free: 340.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/8.046, allocations: 26.25 kB / 4.065 GB, free: 340.4 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.0002407/8.046, allocations: 128 kB / 4.065 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/8.047, allocations: 95.78 kB / 4.065 GB, free: 340.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/8.048, allocations: 445.9 kB / 4.065 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/8.048, allocations: 2.938 kB / 4.065 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/8.048, allocations: 5.094 kB / 4.065 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/8.048, allocations: 3.984 kB / 4.065 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/8.051, allocations: 1.277 MB / 4.067 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/8.051, allocations: 1.875 kB / 4.067 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/8.051, allocations: 162.3 kB / 4.067 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/8.051, allocations: 3.312 kB / 4.067 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/8.051, allocations: 4.188 kB / 4.067 GB, free: 339.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/8.054, allocations: 6.092 MB / 4.073 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/8.054, allocations: 2.25 kB / 4.073 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001005/8.055, allocations: 0.641 MB / 4.073 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/8.056, allocations: 209 kB / 4.074 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/8.056, allocations: 5.906 kB / 4.074 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/8.057, allocations: 59.34 kB / 4.074 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/8.057, allocations: 32.08 kB / 4.074 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/8.057, allocations: 12.53 kB / 4.074 GB, free: 332.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001298/8.058, allocations: 0.6828 MB / 4.074 GB, free: 331.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002124/8.06, allocations: 446.7 kB / 4.075 GB, free: 331.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 (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.002018/8.062, allocations: 1.043 MB / 4.076 GB, free: 330.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003178/8.066, allocations: 0.95 MB / 4.077 GB, free: 329.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/8.066, allocations: 0 / 4.077 GB, free: 329.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/8.067, allocations: 284.7 kB / 4.077 GB, free: 329.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/8.069, allocations: 380.7 kB / 4.077 GB, free: 328.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/8.072, allocations: 1.383 MB / 4.079 GB, free: 327.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/8.073, allocations: 1.267 MB / 4.08 GB, free: 326.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/8.073, allocations: 0 / 4.08 GB, free: 326.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03966/8.112, allocations: 21.97 MB / 4.101 GB, free: 305 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches