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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.898 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.001204/0.001205, allocations: 176.9 kB / 316.3 MB, free: 3.227 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.637/1.637, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001002/0.001002, allocations: 94.41 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.421e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.612/1.848, allocations: 398.2 MB / 1.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.848, allocations: 92.7 kB / 1.274 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.423/4.271, allocations: 0.6825 GB / 1.957 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/4.271, allocations: 1.156 kB / 1.957 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002331/4.271, allocations: 49.19 kB / 1.957 GB, free: 184.4 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.004671/4.276, allocations: 1.846 MB / 1.959 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/4.276, allocations: 9.438 kB / 1.959 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/4.277, allocations: 288.3 kB / 1.959 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/4.283, allocations: 2.516 MB / 1.961 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/4.283, allocations: 30.59 kB / 1.961 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/4.283, allocations: 63.69 kB / 1.961 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/4.285, allocations: 0.8428 MB / 1.962 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/4.287, allocations: 1.068 MB / 1.963 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/4.287, allocations: 1.125 kB / 1.963 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/4.287, allocations: 2.938 kB / 1.963 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/4.287, allocations: 32.38 kB / 1.963 GB, free: 183.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/4.294, allocations: 6.417 MB / 1.97 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/4.295, allocations: 0.5844 MB / 1.97 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/4.295, allocations: 363.5 kB / 1.971 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/4.298, allocations: 1.582 MB / 1.972 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/4.298, allocations: 326.8 kB / 1.972 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009281/4.299, allocations: 106.6 kB / 1.972 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.058e-06/4.299, allocations: 0 / 1.972 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00215/4.302, allocations: 0.8165 MB / 1.973 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/4.302, allocations: 59.56 kB / 1.973 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/4.304, allocations: 1.352 MB / 1.975 GB, free: 178 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/4.304, allocations: 33.48 kB / 1.975 GB, free: 178 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/4.305, allocations: 0.8509 MB / 1.976 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/4.305, allocations: 157.5 kB / 1.976 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/4.305, allocations: 2.406 kB / 1.976 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/4.305, allocations: 336.3 kB / 1.976 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/4.305, allocations: 248.2 kB / 1.976 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/4.306, allocations: 0.6858 MB / 1.977 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/4.307, allocations: 410 kB / 1.977 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/4.307, allocations: 3.594 kB / 1.977 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002194/4.309, allocations: 1.11 MB / 1.978 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008732/4.31, allocations: 4.104 MB / 1.982 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/4.31, allocations: 11.72 kB / 1.982 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/4.31, allocations: 118.3 kB / 1.982 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/4.311, allocations: 181.1 kB / 1.983 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000578/4.312, allocations: 0.7838 MB / 1.983 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/4.313, allocations: 91.84 kB / 1.984 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/4.313, allocations: 51.25 kB / 1.984 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/4.313, allocations: 5.812 kB / 1.984 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/4.315, allocations: 0.9235 MB / 1.984 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/4.315, allocations: 10.88 kB / 1.984 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/4.315, allocations: 108.3 kB / 1.985 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/4.316, allocations: 171 kB / 1.985 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/4.318, allocations: 2.029 MB / 1.987 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/4.319, allocations: 74.91 kB / 1.987 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/4.319, allocations: 47.91 kB / 1.987 GB, free: 170.4 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.000323/4.32, allocations: 133.5 kB / 1.987 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/4.32, allocations: 162.6 kB / 1.987 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/4.322, allocations: 0.9135 MB / 1.988 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/4.322, allocations: 10.81 kB / 1.988 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/4.322, allocations: 0 / 1.988 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/4.323, allocations: 0.8712 MB / 1.989 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/4.327, allocations: 1.963 MB / 1.991 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/4.327, allocations: 3.188 kB / 1.991 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/4.328, allocations: 95.91 kB / 1.991 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/4.328, allocations: 94.17 kB / 1.991 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/4.328, allocations: 14.53 kB / 1.991 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004704/4.329, allocations: 0.7304 MB / 1.992 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/4.329, allocations: 3.438 kB / 1.992 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/4.33, allocations: 1.274 MB / 1.993 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/4.331, allocations: 308.9 kB / 1.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/4.331, allocations: 4.031 kB / 1.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/4.332, allocations: 75.45 kB / 1.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/4.332, allocations: 41.5 kB / 1.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/4.332, allocations: 25.03 kB / 1.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001188/4.333, allocations: 1.036 MB / 1.994 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/4.333, allocations: 3.062 kB / 1.994 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002587/4.336, allocations: 0.8573 MB / 1.995 GB, free: 168.1 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 (41): * Single equations (assignments): 35 * 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.001256/4.337, allocations: 0.7655 MB / 1.996 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001752/4.339, allocations: 1.348 MB / 1.997 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/4.339, allocations: 3.969 kB / 1.997 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/4.339, allocations: 296.3 kB / 1.998 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/4.342, allocations: 0.6291 MB / 1.998 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/4.345, allocations: 2.18 MB / 2 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/4.346, allocations: 1.536 MB / 2.002 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002343/4.348, allocations: 0.8016 MB / 2.003 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/4.348, allocations: 91.77 kB / 2.003 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/4.348, allocations: 2.844 kB / 2.003 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04431/4.393, allocations: 30.55 MB / 2.033 GB, free: 165.2 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