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.0007487/0.0007487, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001774, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006876/0.0006876, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009229/0.00161, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9243/0.9243, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08058/1.005, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.879/1.879, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.496/2.375, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.513e-06/1.513e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.927e-05, allocations: 5.453 kB / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002085/0.002104, allocations: 1.613 MB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009065/0.00301, allocations: 0.7485 MB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.003046, allocations: 0 / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.003211, allocations: 137.8 kB / 0.7322 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.003289, allocations: 70.72 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.003729, allocations: 158.2 kB / 0.7324 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.003839, allocations: 67.48 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.003871, allocations: 0.7656 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.003973, allocations: 59.75 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.004059, allocations: 65.59 kB / 0.7326 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.004072, allocations: 0.9844 kB / 0.7326 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.004438, allocations: 270.4 kB / 0.7328 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.004519, allocations: 64.5 kB / 0.7329 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.004552, allocations: 19.88 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.005011, allocations: 259.2 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.005025, allocations: 0.8125 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005026, allocations: 0 / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.005037, allocations: 0.5 kB / 0.7331 GB, free: 0.8945 MB / 0.698 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.0005384/0.005576, allocations: 439.5 kB / 0.7336 GB, free: 452 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.005615, allocations: 9.281 kB / 0.7336 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.005655, allocations: 12.92 kB / 0.7336 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005822, allocations: 174 kB / 0.7338 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.005831, allocations: 4.375 kB / 0.7338 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005844, allocations: 5.25 kB / 0.7338 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.00595, allocations: 53.72 kB / 0.7338 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005957, allocations: 0.8125 kB / 0.7338 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.005963, allocations: 1.062 kB / 0.7338 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.005998, allocations: 19.92 kB / 0.7338 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.006016, allocations: 5.75 kB / 0.7338 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.006245, allocations: 182 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.006299, allocations: 65.31 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.00631, allocations: 5.453 kB / 0.7341 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.006351, allocations: 27.97 kB / 0.7341 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.006369, allocations: 35.56 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00637, allocations: 0 / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001012/0.006472, allocations: 50.16 kB / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.006501, allocations: 56.47 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.006643, allocations: 266.9 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.006651, allocations: 25.7 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.006699, allocations: 113.2 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.006711, allocations: 7.984 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.006742, allocations: 26.22 kB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.006824, allocations: 335.7 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.006846, allocations: 26.77 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.00686, allocations: 12.5 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.006901, allocations: 43.53 kB / 0.7351 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006903, allocations: 0 / 0.7351 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.065e-05/0.006984, allocations: 79.25 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.007, allocations: 4 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.007005, allocations: 0 / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.007015, allocations: 3.938 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.007062, allocations: 8.484 kB / 0.7352 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007066, allocations: 0 / 0.7352 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.007091, allocations: 16.84 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.007094, allocations: 3.938 kB / 0.7352 GB, free: 14.67 MB / 0.7136 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 6.085e-05/0.007155, allocations: 117.8 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.007172, allocations: 7.984 kB / 0.7353 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.007252, allocations: 59.28 kB / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007255, allocations: 3.938 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007256, allocations: 1.156 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007259, allocations: 3.984 kB / 0.7354 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.765e-05/0.007357, allocations: 97.84 kB / 0.7355 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007358, allocations: 4.969 kB / 0.7355 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.007375, allocations: 3.984 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.007393, allocations: 21.11 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.007394, allocations: 0 / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.007399, allocations: 4 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.007402, allocations: 3.938 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007403, allocations: 1.031 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.461e-05/0.007487, allocations: 186.8 kB / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.0075, allocations: 0 / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.007531, allocations: 5.75 kB / 0.7357 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.007556, allocations: 11.88 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.007559, allocations: 4 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.007627, allocations: 100.6 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007627, allocations: 0 / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002051/0.007832, allocations: 61.16 kB / 0.7358 GB, free: 13.94 MB / 0.7136 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.0002113/0.008044, allocations: 153.3 kB / 0.736 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.008128, allocations: 28.86 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.008136, allocations: 6.75 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.008156, allocations: 12.8 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.008343, allocations: 58.33 kB / 0.7361 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.009044, allocations: 321.5 kB / 0.7364 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.009091, allocations: 83.31 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.009124, allocations: 10.64 kB / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.00917, allocations: 61.66 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/0.009171, allocations: 0 / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.003863/0.01303, allocations: 2.269 MB / 0.7388 GB, free: 11.01 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715135017409921]