Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [: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.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001043/0.001043, allocations: 185.2 kB / 490.8 MB, free: 1.965 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.384/1.384, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.001/0.001, allocations: 90.89 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.047e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.295, allocations: 143 MB / 1.212 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.211, allocations: 1.872 GB / 3.084 GB, free: 4.441 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/4.212, allocations: 100.5 kB / 3.084 GB, free: 4.348 MB / 1.151 GB Notification: Performance of FrontEnd: time 6.867/11.08, allocations: 2.008 GB / 5.092 GB, free: 198.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001676/11.08, allocations: 32.17 kB / 5.092 GB, free: 198.2 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004557/11.08, allocations: 1.349 MB / 5.093 GB, free: 196.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/11.08, allocations: 8.031 kB / 5.093 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/11.08, allocations: 206.4 kB / 5.094 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/11.09, allocations: 1.449 MB / 5.095 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/11.09, allocations: 23.98 kB / 5.095 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/11.09, allocations: 40 kB / 5.095 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/11.09, allocations: 0.7209 MB / 5.096 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/11.09, allocations: 0.8648 MB / 5.097 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/11.09, allocations: 0 / 5.097 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/11.09, allocations: 4 kB / 5.097 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/11.09, allocations: 12 kB / 5.097 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/11.09, allocations: 4.701 MB / 5.101 GB, free: 188.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/11.1, allocations: 0.5034 MB / 5.102 GB, free: 187.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/11.1, allocations: 430.5 kB / 5.102 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/11.1, allocations: 198.5 kB / 5.102 GB, free: 187.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/11.1, allocations: 302.9 kB / 5.103 GB, free: 186.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/11.1, allocations: 0 / 5.103 GB, free: 186.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001764/11.1, allocations: 0.8714 MB / 5.103 GB, free: 186 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/11.1, allocations: 81.11 kB / 5.103 GB, free: 185.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/11.1, allocations: 0.9181 MB / 5.104 GB, free: 185 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/11.1, allocations: 33.7 kB / 5.104 GB, free: 184.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/11.1, allocations: 349.3 kB / 5.105 GB, free: 184.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/11.1, allocations: 126.2 kB / 5.105 GB, free: 184.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/11.1, allocations: 0 / 5.105 GB, free: 184.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/11.1, allocations: 329.8 kB / 5.105 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/11.1, allocations: 224.8 kB / 5.105 GB, free: 183.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/11.1, allocations: 0.5381 MB / 5.106 GB, free: 183.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/11.1, allocations: 318.5 kB / 5.106 GB, free: 182.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/11.1, allocations: 0 / 5.106 GB, free: 182.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001564/11.1, allocations: 1.001 MB / 5.107 GB, free: 181.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/11.1, allocations: 2.107 MB / 5.109 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/11.1, allocations: 8 kB / 5.109 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/11.1, allocations: 272.5 kB / 5.11 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/11.1, allocations: 79.83 kB / 5.11 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/11.1, allocations: 1.213 MB / 5.111 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/11.11, allocations: 107.5 kB / 5.111 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/11.11, allocations: 27.98 kB / 5.111 GB, free: 177.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/11.11, allocations: 4 kB / 5.111 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/11.11, allocations: 0.676 MB / 5.112 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/11.11, allocations: 4 kB / 5.112 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/11.11, allocations: 258.5 kB / 5.112 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/11.11, allocations: 71.89 kB / 5.112 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/11.11, allocations: 2.907 MB / 5.115 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/11.11, allocations: 107.6 kB / 5.115 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/11.11, allocations: 20 kB / 5.115 GB, free: 173.8 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001408/11.11, allocations: 126.7 kB / 5.115 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/11.11, allocations: 98.78 kB / 5.115 GB, free: 173.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/11.11, allocations: 0.7851 MB / 5.116 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/11.11, allocations: 4 kB / 5.116 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/11.11, allocations: 0 / 5.116 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/11.11, allocations: 0 / 5.116 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/11.12, allocations: 1.711 MB / 5.118 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/11.12, allocations: 0 / 5.118 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/11.12, allocations: 36.19 kB / 5.118 GB, free: 170.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/11.12, allocations: 224.7 kB / 5.118 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/11.12, allocations: 4 kB / 5.118 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007495/11.12, allocations: 1.081 MB / 5.119 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/11.12, allocations: 4 kB / 5.119 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009774/11.12, allocations: 0.9808 MB / 5.12 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/11.12, allocations: 231.8 kB / 5.12 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/11.12, allocations: 0 / 5.12 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/11.12, allocations: 83.66 kB / 5.12 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/11.12, allocations: 31.95 kB / 5.12 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/11.12, allocations: 12 kB / 5.12 GB, free: 168.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007481/11.12, allocations: 0.718 MB / 5.121 GB, free: 167.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00175/11.12, allocations: 0.5461 MB / 5.121 GB, free: 166.9 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001866/11.12, allocations: 1.285 MB / 5.123 GB, free: 165.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001552/11.13, allocations: 1.024 MB / 5.124 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/11.13, allocations: 0 / 5.124 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/11.13, allocations: 235.1 kB / 5.124 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/11.13, allocations: 0.5802 MB / 5.124 GB, free: 163.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/11.13, allocations: 1.476 MB / 5.126 GB, free: 162.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/11.13, allocations: 1.292 MB / 5.127 GB, free: 160.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/11.13, allocations: 0 / 5.127 GB, free: 160.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03952/11.17, allocations: 27.31 MB / 5.154 GB, free: 133.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches