Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") [: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.168/2.168, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001262/0.001262, allocations: 189.2 kB / 487 MB, free: 5.316 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.462/1.462, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.001073/0.001073, allocations: 93.95 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.163e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.365, allocations: 418.8 MB / 1.614 GB, free: 3.859 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.365, allocations: 89.52 kB / 1.614 GB, free: 3.816 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.807/6.172, allocations: 1.338 GB / 2.953 GB, free: 124.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0007778/6.173, allocations: 101.2 kB / 2.953 GB, free: 124.4 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01385/6.187, allocations: 3.408 MB / 2.956 GB, free: 121 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/6.187, allocations: 8.031 kB / 2.956 GB, free: 121 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/6.192, allocations: 0.6515 MB / 2.957 GB, free: 120.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/6.207, allocations: 4.403 MB / 2.961 GB, free: 116 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/6.207, allocations: 52 kB / 2.961 GB, free: 115.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000811/6.208, allocations: 115.9 kB / 2.961 GB, free: 115.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003857/6.212, allocations: 1.658 MB / 2.963 GB, free: 114.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/6.215, allocations: 1.837 MB / 2.965 GB, free: 112.2 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.448e-05/6.216, allocations: 7.938 kB / 2.965 GB, free: 112.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/6.216, allocations: 8 kB / 2.965 GB, free: 112.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/6.216, allocations: 43.94 kB / 2.965 GB, free: 112.1 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/6.234, allocations: 11.59 MB / 2.976 GB, free: 99.98 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/6.236, allocations: 1.217 MB / 2.977 GB, free: 98.76 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/6.237, allocations: 0.9208 MB / 2.978 GB, free: 97.83 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007358/6.245, allocations: 3.372 MB / 2.981 GB, free: 94.21 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/6.246, allocations: 0.6562 MB / 2.982 GB, free: 93.55 MB / 1.198 GB Notification: Performance of pre-optimization done (n=98): time 6.101e-06/6.246, allocations: 3.938 kB / 2.982 GB, free: 93.54 MB / 1.198 GB Notification: Performance of matching and sorting (n=98): time 0.005228/6.251, allocations: 2.036 MB / 2.984 GB, free: 91.54 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/6.251, allocations: 60.19 kB / 2.984 GB, free: 91.46 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/6.256, allocations: 2.248 MB / 2.986 GB, free: 89.21 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/6.257, allocations: 29.7 kB / 2.986 GB, free: 89.18 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/6.258, allocations: 0.8424 MB / 2.987 GB, free: 88.31 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/6.258, allocations: 331.1 kB / 2.987 GB, free: 87.98 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/6.258, allocations: 3.938 kB / 2.987 GB, free: 87.98 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001091/6.259, allocations: 365.9 kB / 2.988 GB, free: 87.62 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/6.259, allocations: 0.5545 MB / 2.988 GB, free: 87.06 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/6.261, allocations: 1.298 MB / 2.989 GB, free: 85.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/6.263, allocations: 0.8658 MB / 2.99 GB, free: 84.54 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/6.263, allocations: 4 kB / 2.99 GB, free: 84.54 MB / 1.198 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005246/6.268, allocations: 2.479 MB / 2.993 GB, free: 82.07 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00117/6.269, allocations: 5.901 MB / 2.999 GB, free: 75.58 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/6.269, allocations: 12 kB / 2.999 GB, free: 75.57 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/6.27, allocations: 453 kB / 2.999 GB, free: 75.12 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/6.271, allocations: 305.2 kB / 2.999 GB, free: 74.82 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/6.273, allocations: 2.061 MB / 3.001 GB, free: 72.71 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/6.276, allocations: 230.9 kB / 3.001 GB, free: 72.49 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/6.276, allocations: 87.95 kB / 3.002 GB, free: 72.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/6.276, allocations: 8.781 kB / 3.002 GB, free: 72.39 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00385/6.28, allocations: 2.069 MB / 3.004 GB, free: 70.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/6.28, allocations: 12 kB / 3.004 GB, free: 70.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/6.281, allocations: 421.6 kB / 3.004 GB, free: 69.88 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/6.282, allocations: 293.3 kB / 3.004 GB, free: 69.59 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/6.288, allocations: 5.391 MB / 3.01 GB, free: 63.99 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/6.29, allocations: 191.4 kB / 3.01 GB, free: 63.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/6.291, allocations: 75.97 kB / 3.01 GB, free: 63.73 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005091/6.291, allocations: 166.1 kB / 3.01 GB, free: 63.56 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008256/6.292, allocations: 280.4 kB / 3.01 GB, free: 63.29 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/6.297, allocations: 2.343 MB / 3.013 GB, free: 60.97 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/6.297, allocations: 23.98 kB / 3.013 GB, free: 60.95 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/6.297, allocations: 0 / 3.013 GB, free: 60.95 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002713/6.3, allocations: 1.904 MB / 3.014 GB, free: 59.01 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008196/6.308, allocations: 3.956 MB / 3.018 GB, free: 55.05 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/6.308, allocations: 0 / 3.018 GB, free: 55.05 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009026/6.309, allocations: 181.6 kB / 3.018 GB, free: 54.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007424/6.31, allocations: 393.9 kB / 3.019 GB, free: 54.48 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-05/6.31, allocations: 31.84 kB / 3.019 GB, free: 54.46 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/6.311, allocations: 1.91 MB / 3.021 GB, free: 52.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/6.311, allocations: 0 / 3.021 GB, free: 52.5 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004385/6.316, allocations: 2.918 MB / 3.024 GB, free: 49.56 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/6.317, allocations: 0.4931 MB / 3.024 GB, free: 49.05 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008572/6.318, allocations: 12.06 kB / 3.024 GB, free: 49.04 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/6.32, allocations: 131.4 kB / 3.024 GB, free: 48.91 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/6.32, allocations: 81.19 kB / 3.024 GB, free: 48.83 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/6.321, allocations: 47.97 kB / 3.024 GB, free: 48.78 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.003066/6.324, allocations: 1.718 MB / 3.026 GB, free: 47.07 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005782/6.329, allocations: 1.366 MB / 3.027 GB, free: 45.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/6.332, allocations: 1.031 MB / 3.028 GB, free: 44.78 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004433/6.336, allocations: 2.739 MB / 3.031 GB, free: 42.01 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/6.336, allocations: 7.938 kB / 3.031 GB, free: 42 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/6.337, allocations: 0.6852 MB / 3.032 GB, free: 41.32 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/6.342, allocations: 1.028 MB / 3.033 GB, free: 40.32 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/6.352, allocations: 4.074 MB / 3.037 GB, free: 36.19 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/6.355, allocations: 2.346 MB / 3.039 GB, free: 33.82 MB / 1.198 GB Notification: Performance of SimCode: time 8.92e-07/6.355, allocations: 0 / 3.039 GB, free: 33.82 MB / 1.198 GB Notification: Performance of Templates: time 0.6816/7.036, allocations: 59.17 MB / 3.097 GB, free: 370.3 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches