Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009989/0.0009989, allocations: 172.3 kB / 316 MB, free: 3.598 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.049/1.049, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008161/0.0008161, allocations: 86.08 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.171e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9309/1.085, allocations: 398.3 MB / 1.274 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.085, allocations: 93.92 kB / 1.274 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.113/2.198, allocations: 478 MB / 1.74 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001487/2.198, allocations: 39.05 kB / 1.74 GB, free: 188.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002652/2.201, allocations: 1.522 MB / 1.742 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/2.201, allocations: 9.438 kB / 1.742 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/2.202, allocations: 243.7 kB / 1.742 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/2.206, allocations: 1.965 MB / 1.744 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/2.206, allocations: 23.94 kB / 1.744 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/2.207, allocations: 51.92 kB / 1.744 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/2.208, allocations: 0.627 MB / 1.745 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/2.209, allocations: 0.8161 MB / 1.746 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/2.209, allocations: 5.25 kB / 1.746 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/2.209, allocations: 2.406 kB / 1.746 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/2.209, allocations: 20.97 kB / 1.746 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/2.214, allocations: 4.566 MB / 1.75 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/2.215, allocations: 0.54 MB / 1.751 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/2.215, allocations: 302.5 kB / 1.751 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002677/2.218, allocations: 1.753 MB / 1.753 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/2.219, allocations: 292.9 kB / 1.753 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 3.196e-06/2.219, allocations: 0 / 1.753 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001889/2.22, allocations: 0.7356 MB / 1.754 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/2.22, allocations: 56.62 kB / 1.754 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/2.222, allocations: 1.004 MB / 1.755 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/2.222, allocations: 32.33 kB / 1.755 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/2.222, allocations: 428.3 kB / 1.755 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/2.223, allocations: 158.4 kB / 1.755 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/2.223, allocations: 0 / 1.755 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/2.223, allocations: 336.3 kB / 1.756 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/2.223, allocations: 219.1 kB / 1.756 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/2.223, allocations: 0.5378 MB / 1.756 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/2.224, allocations: 362 kB / 1.757 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/2.224, allocations: 1.281 kB / 1.757 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00201/2.226, allocations: 0.9529 MB / 1.758 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000446/2.227, allocations: 2.93 MB / 1.76 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/2.227, allocations: 7.156 kB / 1.76 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/2.227, allocations: 116.7 kB / 1.761 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/2.228, allocations: 152.6 kB / 1.761 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006947/2.229, allocations: 0.8138 MB / 1.761 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/2.23, allocations: 105.6 kB / 1.762 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/2.23, allocations: 46.16 kB / 1.762 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/2.23, allocations: 4.094 kB / 1.762 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/2.231, allocations: 0.7966 MB / 1.762 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/2.231, allocations: 12.42 kB / 1.762 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/2.231, allocations: 111.4 kB / 1.762 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/2.232, allocations: 143.2 kB / 1.763 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/2.234, allocations: 1.968 MB / 1.765 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/2.234, allocations: 88.42 kB / 1.765 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/2.234, allocations: 36.73 kB / 1.765 GB, free: 171.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/2.235, allocations: 133.7 kB / 1.765 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/2.235, allocations: 124.2 kB / 1.765 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/2.237, allocations: 0.8642 MB / 1.766 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/2.237, allocations: 12.39 kB / 1.766 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/2.237, allocations: 1.688 kB / 1.766 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/2.238, allocations: 0.8286 MB / 1.767 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/2.24, allocations: 1.653 MB / 1.768 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.24, allocations: 0 / 1.768 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/2.241, allocations: 96.89 kB / 1.768 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/2.241, allocations: 100.2 kB / 1.768 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/2.241, allocations: 8.953 kB / 1.768 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005566/2.242, allocations: 0.7756 MB / 1.769 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.242, allocations: 0.7188 kB / 1.769 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001666/2.243, allocations: 1.144 MB / 1.77 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/2.244, allocations: 265.6 kB / 1.771 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/2.244, allocations: 1.719 kB / 1.771 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/2.244, allocations: 62.19 kB / 1.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/2.245, allocations: 36.75 kB / 1.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/2.245, allocations: 21.83 kB / 1.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009116/2.246, allocations: 0.788 MB / 1.771 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002142/2.248, allocations: 0.6848 MB / 1.772 GB, free: 166.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/2.249, allocations: 0.7368 MB / 1.773 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00164/2.251, allocations: 1.176 MB / 1.774 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.251, allocations: 0 / 1.774 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004322/2.251, allocations: 296.5 kB / 1.774 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/2.253, allocations: 493.9 kB / 1.775 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/2.255, allocations: 1.74 MB / 1.776 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007404/2.256, allocations: 1.403 MB / 1.778 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/2.256, allocations: 0 / 1.778 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.03445/2.291, allocations: 27.94 MB / 1.805 GB, free: 134.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches