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.002006/0.002006, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00265/0.00265, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 65.92 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3536, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003294/0.3569, allocations: 1.51 MB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3584, allocations: 0.7129 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.3584, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3587, allocations: 131.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3588, allocations: 71.83 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.3596, allocations: 195.4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3597, allocations: 67.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.3598, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.3599, allocations: 43.88 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.36, allocations: 83.89 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.36, allocations: 3.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.3605, allocations: 247.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3606, allocations: 63.81 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.3607, allocations: 43.61 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.3611, allocations: 279 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3611, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3611, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3611, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 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.0007775/0.3619, allocations: 444.8 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.362, allocations: 8.031 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.362, allocations: 20.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3623, allocations: 214.6 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3623, allocations: 4.375 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3623, allocations: 384 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3626, allocations: 85.97 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.3628, allocations: 83.94 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.3634, allocations: 336.5 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3636, allocations: 94.41 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3637, allocations: 52.88 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.3637, allocations: 19.92 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3638, allocations: 34.56 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3638, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004642/0.3642, allocations: 177.5 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3643, allocations: 59.47 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.3647, allocations: 356.5 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3647, allocations: 25.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3648, allocations: 136.1 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.3648, allocations: 7.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3649, allocations: 21.72 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.365, allocations: 334.8 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3652, allocations: 95.94 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3653, allocations: 97.92 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.3656, allocations: 208.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3656, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003963/0.366, allocations: 263.4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.366, allocations: 11.98 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3661, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3661, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.3662, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3662, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.3662, allocations: 27.8 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3662, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 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 0.0001275/0.3664, allocations: 145.7 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.3664, allocations: 23.81 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.3667, allocations: 142.7 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3667, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3667, allocations: 7.984 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3667, allocations: 4.031 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.367, allocations: 177.3 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.367, allocations: 11.88 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.367, allocations: 7.984 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.367, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.367, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.367, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.367, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.3674, allocations: 235.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.3674, allocations: 27.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3674, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.3675, allocations: 8.078 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.3676, allocations: 7.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3676, allocations: 3.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002716/0.3679, allocations: 251 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 0 / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000415/0.3683, allocations: 67.86 kB / 1.333 GB, free: 9.898 MB / 1.029 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.0003989/0.3687, allocations: 163 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.369, allocations: 139.9 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.369, allocations: 0 / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3692, allocations: 47.97 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3695, allocations: 16.58 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.3703, allocations: 379.8 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3705, allocations: 127.2 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.3706, allocations: 16.48 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3706, allocations: 15.44 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3706, allocations: 4 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of Templates: time 0.006327/0.3769, allocations: 2.272 MB / 1.336 GB, free: 6.691 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.22711935825646]