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.001061/0.001061, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002397, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009783/0.0009783, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002204, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9249/0.9249, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08482/1.01, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.868/1.868, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4899/2.358, allocations: 123.3 MB / 0.728 GB, free: 5.816 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.553e-06/1.553e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.253e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001901/0.001924, allocations: 1.613 MB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.002818, allocations: 0.7433 MB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.00285, allocations: 0 / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.003018, allocations: 138 kB / 0.7318 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.003093, allocations: 71.78 kB / 0.7319 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.003474, allocations: 157.5 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.003571, allocations: 59.39 kB / 0.7321 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.003611, allocations: 14.67 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003716, allocations: 54.14 kB / 0.7322 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.0038, allocations: 69.66 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003813, allocations: 3.938 kB / 0.7322 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.004141, allocations: 264.5 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.004215, allocations: 59.84 kB / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.004243, allocations: 20.69 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.004519, allocations: 259.2 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.004534, allocations: 0.9062 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004535, allocations: 3.938 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.004548, allocations: 0.875 kB / 0.7328 GB, free: 0.9961 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.0004992/0.005047, allocations: 439 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.005079, allocations: 8.75 kB / 0.7332 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.005109, allocations: 12.92 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.005264, allocations: 178.5 kB / 0.7334 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.005271, allocations: 384 / 0.7334 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.005279, allocations: 6.188 kB / 0.7334 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.005384, allocations: 61.72 kB / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.00539, allocations: 192 / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.005396, allocations: 384 / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.005407, allocations: 4.625 kB / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.005427, allocations: 4 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.005626, allocations: 174.8 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.0057, allocations: 73.8 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.005715, allocations: 14.02 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/0.005767, allocations: 15.98 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.005789, allocations: 38.56 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.00579, allocations: 0.7188 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001041/0.005894, allocations: 46.78 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.005923, allocations: 51.41 kB / 0.7339 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.006075, allocations: 270.9 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006086, allocations: 26.73 kB / 0.7342 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.006134, allocations: 108.5 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.006145, allocations: 11.92 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.006172, allocations: 22.23 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.006254, allocations: 336.5 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.006276, allocations: 14.83 kB / 0.7347 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.00629, allocations: 14.53 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.006334, allocations: 55.66 kB / 0.7347 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006336, allocations: 1.219 kB / 0.7347 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 7.675e-05/0.006413, allocations: 85.55 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006424, allocations: 8 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00643, allocations: 1.781 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.006437, allocations: 3.938 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.006491, allocations: 7.938 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.006493, allocations: 0 / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.006517, allocations: 15.84 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006521, allocations: 0.75 kB / 0.7348 GB, free: 14.78 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 5.883e-05/0.00658, allocations: 113.2 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.006596, allocations: 8.75 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.006673, allocations: 58.77 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006676, allocations: 5.281 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006678, allocations: 0 / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006681, allocations: 0 / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006787, allocations: 102.7 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006788, allocations: 0 / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.006807, allocations: 4 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.006829, allocations: 24.72 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.00683, allocations: 0 / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006834, allocations: 0.8438 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006835, allocations: 7.875 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.006837, allocations: 0.5938 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.574e-05/0.006922, allocations: 182.9 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.006935, allocations: 3.984 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.006964, allocations: 1.406 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.006995, allocations: 8.031 kB / 0.7353 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006999, allocations: 7.984 kB / 0.7353 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.007075, allocations: 103.4 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007075, allocations: 0 / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002002/0.007275, allocations: 59.92 kB / 0.7355 GB, free: 14.05 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.0002231/0.007498, allocations: 154.8 kB / 0.7356 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.007589, allocations: 40.7 kB / 0.7357 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.007594, allocations: 4 kB / 0.7357 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.007607, allocations: 11.11 kB / 0.7357 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.007776, allocations: 22.83 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.008524, allocations: 322 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.008569, allocations: 83.31 kB / 0.7361 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.008598, allocations: 10.92 kB / 0.7361 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.008643, allocations: 59.38 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.008644, allocations: 1.625 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of Templates: time 0.004131/0.01277, allocations: 2.224 MB / 0.7383 GB, free: 11.2 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.76753469184041]