Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.022/2.022, allocations: 390.4 MB / 397.7 MB, free: 11.34 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.001079/0.001079, allocations: 190.2 kB / 490.8 MB, free: 1.992 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.436/1.436, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.001104/0.001104, allocations: 94.78 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.154e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.963/4.248, allocations: 1.869 GB / 3.081 GB, free: 296 kB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/4.249, allocations: 91.94 kB / 3.081 GB, free: 204 kB / 1.151 GB Notification: Performance of FrontEnd: time 6.187/10.44, allocations: 1.802 GB / 4.883 GB, free: 368 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.193e-05/10.44, allocations: 36.06 kB / 4.883 GB, free: 368 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.001732/10.44, allocations: 1.126 MB / 4.884 GB, free: 367.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/10.44, allocations: 10.91 kB / 4.884 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/10.44, allocations: 189.9 kB / 4.884 GB, free: 367.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/10.44, allocations: 1.084 MB / 4.885 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/10.44, allocations: 19.34 kB / 4.885 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/10.44, allocations: 37.16 kB / 4.885 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006388/10.44, allocations: 490.5 kB / 4.886 GB, free: 367.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/10.44, allocations: 0.6964 MB / 4.887 GB, free: 366.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/10.44, allocations: 7.719 kB / 4.887 GB, free: 366.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/10.44, allocations: 0 / 4.887 GB, free: 366.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/10.44, allocations: 18.8 kB / 4.887 GB, free: 366.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/10.44, allocations: 4.665 MB / 4.891 GB, free: 363.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/10.45, allocations: 455.1 kB / 4.892 GB, free: 363.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/10.45, allocations: 253.8 kB / 4.892 GB, free: 363.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/10.45, allocations: 203.3 kB / 4.892 GB, free: 363.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/10.45, allocations: 264.9 kB / 4.892 GB, free: 363.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/10.45, allocations: 0 / 4.892 GB, free: 363.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008284/10.45, allocations: 0.4895 MB / 4.893 GB, free: 363.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/10.45, allocations: 84.62 kB / 4.893 GB, free: 363 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/10.45, allocations: 0.875 MB / 4.894 GB, free: 362.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/10.45, allocations: 28.98 kB / 4.894 GB, free: 362.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/10.45, allocations: 337.5 kB / 4.894 GB, free: 362.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/10.45, allocations: 108.1 kB / 4.894 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/10.45, allocations: 0 / 4.894 GB, free: 362.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/10.45, allocations: 323.7 kB / 4.894 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/10.45, allocations: 192 kB / 4.895 GB, free: 362.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/10.45, allocations: 0.5052 MB / 4.895 GB, free: 361.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/10.45, allocations: 267.6 kB / 4.895 GB, free: 361.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/10.45, allocations: 5.344 kB / 4.895 GB, free: 361.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001014/10.45, allocations: 0.6262 MB / 4.896 GB, free: 361.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003802/10.45, allocations: 2.096 MB / 4.898 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/10.45, allocations: 5.5 kB / 4.898 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/10.45, allocations: 8.312 kB / 4.898 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/10.45, allocations: 117.7 kB / 4.898 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/10.45, allocations: 23.16 kB / 4.898 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/10.45, allocations: 83.3 kB / 4.898 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/10.45, allocations: 28.41 kB / 4.898 GB, free: 359.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/10.45, allocations: 3.875 kB / 4.898 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006165/10.45, allocations: 416.8 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/10.45, allocations: 16.44 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/10.45, allocations: 9.688 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/10.45, allocations: 108.6 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/10.45, allocations: 12.17 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/10.45, allocations: 78.23 kB / 4.899 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/10.45, allocations: 23.66 kB / 4.899 GB, free: 359.6 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/10.45, allocations: 127.5 kB / 4.899 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/10.45, allocations: 99.08 kB / 4.899 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/10.46, allocations: 457.1 kB / 4.9 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/10.46, allocations: 4.5 kB / 4.9 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/10.46, allocations: 3.703 kB / 4.9 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/10.46, allocations: 1.125 kB / 4.9 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/10.46, allocations: 1.278 MB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/10.46, allocations: 2.562 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/10.46, allocations: 79.42 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/10.46, allocations: 4.062 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/10.46, allocations: 3.688 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/10.46, allocations: 4.844 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/10.46, allocations: 5.438 kB / 4.901 GB, free: 359 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006505/10.46, allocations: 0.6468 MB / 4.902 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/10.46, allocations: 211.5 kB / 4.902 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/10.46, allocations: 3 kB / 4.902 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/10.46, allocations: 54.55 kB / 4.902 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/10.46, allocations: 25.77 kB / 4.902 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/10.46, allocations: 15.48 kB / 4.902 GB, free: 358.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007972/10.46, allocations: 0.6778 MB / 4.902 GB, free: 358.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001407/10.46, allocations: 459.3 kB / 4.903 GB, free: 358.4 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/10.46, allocations: 1.031 MB / 4.904 GB, free: 358.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001034/10.46, allocations: 0.7369 MB / 4.905 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/10.46, allocations: 4 kB / 4.905 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/10.46, allocations: 189 kB / 4.905 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/10.47, allocations: 371.7 kB / 4.905 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/10.47, allocations: 1.383 MB / 4.907 GB, free: 357.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/10.47, allocations: 1.273 MB / 4.908 GB, free: 357 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/10.47, allocations: 3.688 kB / 4.908 GB, free: 357 MB / 1.151 GB Notification: Performance of Templates: time 0.04031/10.51, allocations: 21.22 MB / 4.928 GB, free: 355.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches