Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.048/2.048, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001225/0.001225, allocations: 173.3 kB / 487 MB, free: 5.359 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.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.001248/0.001248, allocations: 88.64 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.726e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9544/1.229, allocations: 401.9 MB / 1.598 GB, free: 4.477 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.229, allocations: 93.83 kB / 1.598 GB, free: 4.434 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.653/2.882, allocations: 491.8 MB / 2.078 GB, free: 49.45 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001642/2.882, allocations: 47.66 kB / 2.078 GB, free: 49.41 MB / 1.135 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.002881/2.885, allocations: 1.518 MB / 2.08 GB, free: 47.84 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/2.885, allocations: 8.031 kB / 2.08 GB, free: 47.84 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/2.887, allocations: 341.8 kB / 2.08 GB, free: 47.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/2.891, allocations: 2.012 MB / 2.082 GB, free: 45.47 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/2.891, allocations: 24 kB / 2.082 GB, free: 45.45 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/2.891, allocations: 59.98 kB / 2.082 GB, free: 45.39 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/2.892, allocations: 0.6365 MB / 2.083 GB, free: 44.75 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/2.893, allocations: 0.8242 MB / 2.083 GB, free: 43.88 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/2.894, allocations: 0 / 2.083 GB, free: 43.88 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/2.894, allocations: 4 kB / 2.083 GB, free: 43.88 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/2.894, allocations: 16 kB / 2.083 GB, free: 43.86 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/2.899, allocations: 4.626 MB / 2.088 GB, free: 39.01 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/2.899, allocations: 0.5562 MB / 2.089 GB, free: 38.45 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/2.9, allocations: 302.1 kB / 2.089 GB, free: 38.14 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/2.902, allocations: 1.79 MB / 2.091 GB, free: 36.21 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/2.903, allocations: 294 kB / 2.091 GB, free: 35.92 MB / 1.135 GB Notification: Performance of pre-optimization done (n=46): time 3.056e-06/2.903, allocations: 0 / 2.091 GB, free: 35.92 MB / 1.135 GB Notification: Performance of matching and sorting (n=46): time 0.001667/2.904, allocations: 0.7452 MB / 2.092 GB, free: 35.17 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/2.904, allocations: 55.41 kB / 2.092 GB, free: 35.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/2.906, allocations: 1.015 MB / 2.093 GB, free: 34.07 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/2.906, allocations: 29.7 kB / 2.093 GB, free: 34.04 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/2.906, allocations: 427.8 kB / 2.093 GB, free: 33.62 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/2.906, allocations: 161.6 kB / 2.093 GB, free: 33.46 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/2.906, allocations: 0 / 2.093 GB, free: 33.46 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/2.906, allocations: 330 kB / 2.094 GB, free: 33.13 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/2.906, allocations: 229.5 kB / 2.094 GB, free: 32.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/2.907, allocations: 0.5469 MB / 2.094 GB, free: 32.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/2.908, allocations: 358.8 kB / 2.095 GB, free: 31.86 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/2.908, allocations: 11.84 kB / 2.095 GB, free: 31.84 MB / 1.135 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001726/2.909, allocations: 0.9652 MB / 2.096 GB, free: 30.87 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/2.91, allocations: 2.922 MB / 2.098 GB, free: 27.76 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/2.91, allocations: 8 kB / 2.098 GB, free: 27.75 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/2.91, allocations: 124.7 kB / 2.099 GB, free: 27.63 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/2.911, allocations: 159.7 kB / 2.099 GB, free: 27.47 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000686/2.912, allocations: 0.8175 MB / 2.099 GB, free: 26.63 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/2.913, allocations: 111.2 kB / 2.1 GB, free: 26.52 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/2.913, allocations: 47.97 kB / 2.1 GB, free: 26.47 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/2.913, allocations: 0 / 2.1 GB, free: 26.47 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/2.914, allocations: 0.8014 MB / 2.1 GB, free: 25.65 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.914, allocations: 8 kB / 2.1 GB, free: 25.64 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/2.914, allocations: 104.8 kB / 2.101 GB, free: 25.54 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/2.915, allocations: 155.9 kB / 2.101 GB, free: 25.38 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/2.917, allocations: 1.973 MB / 2.103 GB, free: 23.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/2.918, allocations: 91.55 kB / 2.103 GB, free: 23.21 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/2.918, allocations: 43.97 kB / 2.103 GB, free: 23.16 MB / 1.135 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.0002256/2.918, allocations: 129.9 kB / 2.103 GB, free: 23.03 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/2.918, allocations: 130.4 kB / 2.103 GB, free: 22.9 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/2.92, allocations: 0.8909 MB / 2.104 GB, free: 22 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/2.92, allocations: 4 kB / 2.104 GB, free: 22 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/2.92, allocations: 0 / 2.104 GB, free: 22 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009715/2.921, allocations: 0.8297 MB / 2.105 GB, free: 21.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/2.923, allocations: 1.68 MB / 2.106 GB, free: 19.39 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.923, allocations: 0 / 2.106 GB, free: 19.39 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/2.924, allocations: 103.9 kB / 2.106 GB, free: 19.29 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/2.924, allocations: 100.8 kB / 2.107 GB, free: 19.18 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/2.924, allocations: 7.984 kB / 2.107 GB, free: 19.18 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004788/2.925, allocations: 0.7746 MB / 2.107 GB, free: 18.38 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.925, allocations: 3.938 kB / 2.107 GB, free: 18.37 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001479/2.926, allocations: 1.158 MB / 2.108 GB, free: 17.17 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/2.927, allocations: 267.4 kB / 2.109 GB, free: 16.89 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/2.927, allocations: 8 kB / 2.109 GB, free: 16.88 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/2.928, allocations: 67.77 kB / 2.109 GB, free: 16.81 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/2.928, allocations: 36.38 kB / 2.109 GB, free: 16.78 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/2.928, allocations: 23.98 kB / 2.109 GB, free: 16.75 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0009086/2.929, allocations: 0.783 MB / 2.11 GB, free: 15.97 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002394/2.931, allocations: 0.6933 MB / 2.11 GB, free: 15.27 MB / 1.135 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.001481/2.932, allocations: 0.743 MB / 2.111 GB, free: 14.57 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002178/2.935, allocations: 1.18 MB / 2.112 GB, free: 13.38 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.935, allocations: 0 / 2.112 GB, free: 13.38 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004978/2.935, allocations: 309.9 kB / 2.112 GB, free: 13.07 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/2.937, allocations: 483.5 kB / 2.113 GB, free: 12.6 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/2.941, allocations: 1.754 MB / 2.115 GB, free: 10.81 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/2.942, allocations: 1.414 MB / 2.116 GB, free: 9.363 MB / 1.135 GB Notification: Performance of SimCode: time 8.41e-07/2.942, allocations: 0 / 2.116 GB, free: 9.363 MB / 1.135 GB Notification: Performance of Templates: time 0.05222/2.994, allocations: 28.33 MB / 2.144 GB, free: 13.39 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches