Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 177.2 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.871e-05, allocations: 5.453 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001782/0.001801, allocations: 1.553 MB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.002685, allocations: 0.7456 MB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.002718, allocations: 0 / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.002903, allocations: 130.9 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.002978, allocations: 71.83 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.003594, allocations: 190.2 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.003691, allocations: 63.86 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.00372, allocations: 4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.003788, allocations: 44.59 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.003873, allocations: 87.83 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003885, allocations: 0.5312 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.004166, allocations: 245.2 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.00424, allocations: 55.84 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.004271, allocations: 27.88 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.004559, allocations: 303.1 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004561, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004562, allocations: 0.5938 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.004565, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004368/0.005002, allocations: 0.5308 MB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.005033, allocations: 12.91 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.005075, allocations: 24.8 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.005243, allocations: 182 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.005252, allocations: 384 / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.005262, allocations: 8.375 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.906e-05/0.005351, allocations: 52.27 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.005358, allocations: 192 / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.005365, allocations: 384 / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005372, allocations: 3.938 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.005394, allocations: 9.734 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.00568, allocations: 343.7 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.005727, allocations: 31 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.005745, allocations: 9.812 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.005788, allocations: 20.05 kB / 0.8162 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.005807, allocations: 37.33 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005807, allocations: 0 / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.005941, allocations: 66 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.005967, allocations: 54 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.006184, allocations: 354.3 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.006193, allocations: 29.64 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.006277, allocations: 194.8 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.006289, allocations: 11.94 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.006322, allocations: 31.38 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006448, allocations: 0.5157 MB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.006473, allocations: 17.69 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.00649, allocations: 19.98 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.006539, allocations: 53.38 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00654, allocations: 0 / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.757e-05/0.006638, allocations: 106 kB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.006652, allocations: 15.16 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.006657, allocations: 0 / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006668, allocations: 5.594 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.221e-05/0.00672, allocations: 7.938 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.006724, allocations: 0 / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.006748, allocations: 7.891 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006753, allocations: 6.594 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.006813, allocations: 156.6 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.006835, allocations: 27.8 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.006916, allocations: 50.78 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006918, allocations: 4 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006921, allocations: 1.062 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006924, allocations: 0 / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.007056, allocations: 196.6 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007057, allocations: 0.875 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.007073, allocations: 4 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.007075, allocations: 4 kB / 0.8181 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007082, allocations: 8.719 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007083, allocations: 0 / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007084, allocations: 3.688 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007204, allocations: 207.8 kB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.007229, allocations: 31.88 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.007243, allocations: 3.938 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.07e-05/0.007274, allocations: 4 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.007302, allocations: 0 / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.007303, allocations: 0 / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001154/0.007419, allocations: 235 kB / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007419, allocations: 0 / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002208/0.00764, allocations: 65.72 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.007838, allocations: 163.1 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.181e-05/0.00793, allocations: 50.42 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007931, allocations: 1.031 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.007945, allocations: 11.69 kB / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.00813, allocations: 21.66 kB / 0.8189 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.008644, allocations: 325.6 kB / 0.8192 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.00869, allocations: 89.17 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.00872, allocations: 17.81 kB / 0.8193 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.008745, allocations: 16.5 kB / 0.8193 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.008745, allocations: 0 / 0.8193 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of Templates: time 0.004067/0.01281, allocations: 2.26 MB / 0.8215 GB, free: 7.227 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.073147324845195]