Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") [: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.159/1.159, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 184 kB / 316 MB, free: 7.207 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.174/1.174, allocations: 205.1 MB / 0.5667 GB, free: 23.57 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.0007776/0.0007776, allocations: 86.59 kB / 0.671 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.42e-06, allocations: 0 / 0.7807 GB, free: 416 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3574, allocations: 106.3 MB / 0.8846 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6188/0.9763, allocations: 397.2 MB / 1.272 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.9765, allocations: 88.45 kB / 1.273 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.824/2.801, allocations: 0.6863 GB / 1.959 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001798/2.801, allocations: 47.98 kB / 1.959 GB, free: 74.5 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003144/2.804, allocations: 1.831 MB / 1.961 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/2.804, allocations: 8.031 kB / 1.961 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/2.805, allocations: 297.3 kB / 1.961 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/2.81, allocations: 2.551 MB / 1.963 GB, free: 69.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/2.81, allocations: 32 kB / 1.963 GB, free: 69.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/2.81, allocations: 64 kB / 1.964 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001239/2.811, allocations: 0.8629 MB / 1.964 GB, free: 68.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/2.813, allocations: 1.085 MB / 1.965 GB, free: 67.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/2.813, allocations: 3.938 kB / 1.965 GB, free: 67.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/2.813, allocations: 4 kB / 1.965 GB, free: 67.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/2.813, allocations: 24 kB / 1.965 GB, free: 67.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/2.819, allocations: 6.586 MB / 1.972 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/2.819, allocations: 0.5762 MB / 1.972 GB, free: 59.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/2.82, allocations: 374.1 kB / 1.973 GB, free: 59.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/2.822, allocations: 1.658 MB / 1.974 GB, free: 57.81 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/2.822, allocations: 324.6 kB / 1.975 GB, free: 57.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/2.822, allocations: 0 / 1.975 GB, free: 57.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00168/2.824, allocations: 0.8335 MB / 1.976 GB, free: 56.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/2.824, allocations: 67.78 kB / 1.976 GB, free: 56.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/2.825, allocations: 1.375 MB / 1.977 GB, free: 55.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/2.825, allocations: 29.7 kB / 1.977 GB, free: 55.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/2.826, allocations: 0.5414 MB / 1.978 GB, free: 54.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/2.826, allocations: 157.7 kB / 1.978 GB, free: 54.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/2.826, allocations: 0 / 1.978 GB, free: 54.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/2.826, allocations: 341.8 kB / 1.978 GB, free: 54.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/2.826, allocations: 257.7 kB / 1.978 GB, free: 53.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/2.827, allocations: 0.693 MB / 1.979 GB, free: 52.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000874/2.828, allocations: 431.2 kB / 1.979 GB, free: 52.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/2.828, allocations: 11.94 kB / 1.979 GB, free: 52.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001861/2.829, allocations: 1.13 MB / 1.98 GB, free: 51.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006489/2.83, allocations: 4.061 MB / 1.984 GB, free: 46.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/2.83, allocations: 12 kB / 1.984 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/2.83, allocations: 128.7 kB / 1.985 GB, free: 46.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/2.831, allocations: 175.7 kB / 1.985 GB, free: 46.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005755/2.832, allocations: 0.8012 MB / 1.985 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/2.833, allocations: 131 kB / 1.986 GB, free: 45.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/2.833, allocations: 51.97 kB / 1.986 GB, free: 45.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/2.833, allocations: 4 kB / 1.986 GB, free: 45.65 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/2.835, allocations: 0.9307 MB / 1.987 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/2.835, allocations: 12 kB / 1.987 GB, free: 44.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/2.835, allocations: 113.5 kB / 1.987 GB, free: 44.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/2.836, allocations: 179.6 kB / 1.987 GB, free: 44.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/2.837, allocations: 1.981 MB / 1.989 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/2.838, allocations: 103.4 kB / 1.989 GB, free: 42.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/2.839, allocations: 47.98 kB / 1.989 GB, free: 42.15 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/2.839, allocations: 138.7 kB / 1.989 GB, free: 42.01 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/2.839, allocations: 165.9 kB / 1.989 GB, free: 41.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/2.841, allocations: 0.9933 MB / 1.99 GB, free: 40.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.841, allocations: 4 kB / 1.99 GB, free: 40.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/2.841, allocations: 0 / 1.99 GB, free: 40.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/2.842, allocations: 0.9041 MB / 1.991 GB, free: 39.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/2.845, allocations: 1.939 MB / 1.993 GB, free: 37.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.845, allocations: 3.984 kB / 1.993 GB, free: 37.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/2.845, allocations: 95.86 kB / 1.993 GB, free: 37.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/2.845, allocations: 100.9 kB / 1.993 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/2.845, allocations: 7.984 kB / 1.993 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/2.846, allocations: 0.7498 MB / 1.994 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.846, allocations: 4 kB / 1.994 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001502/2.847, allocations: 1.31 MB / 1.995 GB, free: 35.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/2.848, allocations: 310.8 kB / 1.996 GB, free: 35.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/2.848, allocations: 8 kB / 1.996 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/2.849, allocations: 67.84 kB / 1.996 GB, free: 35.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/2.849, allocations: 40.36 kB / 1.996 GB, free: 35.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/2.849, allocations: 27.97 kB / 1.996 GB, free: 35.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001026/2.85, allocations: 1.06 MB / 1.997 GB, free: 34.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002227/2.852, allocations: 0.8462 MB / 1.997 GB, free: 33.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/2.853, allocations: 0.7695 MB / 1.998 GB, free: 32.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001682/2.855, allocations: 1.304 MB / 2 GB, free: 31.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.855, allocations: 0 / 2 GB, free: 31.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/2.855, allocations: 301.6 kB / 2 GB, free: 30.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/2.857, allocations: 0.6008 MB / 2 GB, free: 30.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/2.861, allocations: 2.287 MB / 2.003 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009802/2.862, allocations: 1.661 MB / 2.004 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/2.862, allocations: 0 / 2.004 GB, free: 26.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.3168/3.179, allocations: 33.21 MB / 2.037 GB, free: 261 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches