Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001597/0.001597, 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.001745/0.001745, 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.432/3.432, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002129/0.002129, allocations: 70.23 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002605/0.3391, allocations: 1.518 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3404, allocations: 0.7178 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.3405, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3407, allocations: 135.7 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.3408, allocations: 63.84 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.3414, allocations: 199.4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3415, allocations: 63.86 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.3416, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.3416, allocations: 35.89 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3418, allocations: 95.81 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3418, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3422, allocations: 239.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.3423, allocations: 67.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.3423, allocations: 43.56 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.3427, allocations: 267 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3427, allocations: 4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3427, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.3427, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 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.0006538/0.3434, allocations: 448.8 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3434, allocations: 15.97 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.3434, allocations: 20.8 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3437, allocations: 202.7 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3437, allocations: 384 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3437, allocations: 4.359 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3439, allocations: 85.92 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3439, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3439, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.344, allocations: 3.984 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3442, allocations: 83.94 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.3447, allocations: 336.5 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3448, allocations: 90.47 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.345, allocations: 60.83 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.345, allocations: 15.98 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.345, allocations: 34.55 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.345, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004247/0.3454, allocations: 173.5 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3455, allocations: 51.41 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.3458, allocations: 364.5 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3459, allocations: 37.69 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.346, allocations: 132.1 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.346, allocations: 3.953 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.346, allocations: 29.7 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3462, allocations: 334.8 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3463, allocations: 99.88 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3465, allocations: 91.95 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.3468, allocations: 215.1 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3468, allocations: 0 / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003674/0.3472, allocations: 253.3 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3472, allocations: 6.5 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3472, allocations: 4 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3472, allocations: 0 / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.3473, allocations: 7.984 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3473, allocations: 0 / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3473, allocations: 23.88 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3474, allocations: 4 kB / 1.37 GB, free: 6.762 MB / 1.061 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.0001206/0.3475, allocations: 150.7 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3475, allocations: 19.86 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.3478, allocations: 142.7 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3478, allocations: 0 / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3478, allocations: 96 / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3478, allocations: 3.984 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.348, allocations: 193.3 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.348, allocations: 7.938 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3481, allocations: 7.984 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3481, allocations: 0 / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3481, allocations: 0 / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3481, allocations: 0 / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3481, allocations: 4 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3484, allocations: 235.3 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3485, allocations: 27.8 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3485, allocations: 4.031 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.3486, allocations: 7.984 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3486, allocations: 4 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3486, allocations: 0 / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002445/0.3488, allocations: 255 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3488, allocations: 0 / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003141/0.3492, allocations: 67.88 kB / 1.371 GB, free: 5.594 MB / 1.061 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.0002641/0.3494, allocations: 151.1 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3497, allocations: 151.8 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3497, allocations: 3.938 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3499, allocations: 43.97 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.3501, allocations: 12.59 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.3507, allocations: 383.8 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3508, allocations: 130.2 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3509, allocations: 12.5 kB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3509, allocations: 15.44 kB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3509, allocations: 3.938 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of Templates: time 0.00556/0.3565, allocations: 2.283 MB / 1.374 GB, free: 2.371 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.010234136134386]