Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001561/0.001561, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001985/0.001985, allocations: 220 kB / 23.01 MB, free: 4.609 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002105/0.002105, allocations: 64.52 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003312/0.4042, allocations: 1.535 MB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.4058, allocations: 0.7847 MB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.4059, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.4061, allocations: 127.8 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4062, allocations: 67.83 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.407, allocations: 196.6 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.4071, allocations: 63.89 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.4071, allocations: 7.922 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.4072, allocations: 35.89 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.4074, allocations: 91.77 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4074, allocations: 4 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.4079, allocations: 263.6 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.408, allocations: 63.81 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4081, allocations: 59.48 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.4085, allocations: 275 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4085, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4085, allocations: 4 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4086, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 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.0007909/0.4093, allocations: 440.8 kB / 1.289 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4094, allocations: 8.031 kB / 1.289 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.4094, allocations: 20.8 kB / 1.289 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4098, allocations: 210.6 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4098, allocations: 384 / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4098, allocations: 8.375 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.41, allocations: 77.97 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.41, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.41, allocations: 4 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.41, allocations: 3.938 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.4102, allocations: 79.94 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.4109, allocations: 375.8 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.4111, allocations: 90.53 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.4112, allocations: 44.89 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.4112, allocations: 19.97 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4113, allocations: 30.56 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.4113, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004626/0.4117, allocations: 189.4 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4118, allocations: 51.41 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.4122, allocations: 352.5 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4123, allocations: 25.7 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4124, allocations: 140.1 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.4124, allocations: 7.953 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.4124, allocations: 29.83 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4126, allocations: 338.8 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.4128, allocations: 91.95 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4129, allocations: 95.94 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.4133, allocations: 207.6 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4133, allocations: 0 / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004125/0.4137, allocations: 265.3 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4137, allocations: 4 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4137, allocations: 0 / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4137, allocations: 0 / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.4138, allocations: 15.92 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4138, allocations: 0 / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.4139, allocations: 15.88 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4139, allocations: 4 kB / 1.291 GB, free: 4.285 MB / 0.9825 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.0001368/0.414, allocations: 145.8 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.4141, allocations: 27.81 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4144, allocations: 146.7 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4144, allocations: 0 / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4144, allocations: 0 / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4144, allocations: 0 / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.4147, allocations: 220.6 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4147, allocations: 4 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.4147, allocations: 15.92 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4147, allocations: 0 / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4148, allocations: 0 / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4148, allocations: 0 / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4148, allocations: 0 / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.4151, allocations: 239.3 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.4152, allocations: 23.86 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4152, allocations: 0 / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.4153, allocations: 7.984 kB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4153, allocations: 0 / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.4153, allocations: 4 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000276/0.4156, allocations: 255 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4156, allocations: 0 / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004245/0.416, allocations: 67.88 kB / 1.292 GB, free: 3.078 MB / 0.9825 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.0003029/0.4163, allocations: 155.1 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.4167, allocations: 147.9 kB / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4167, allocations: 0 / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4168, allocations: 47.97 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4172, allocations: 15.09 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.418, allocations: 413.4 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.4185, allocations: 0.7392 MB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.4185, allocations: 23.44 kB / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4185, allocations: 0 / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of Templates: time 0.005406/0.4239, allocations: 2.404 MB / 1.296 GB, free: 15.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.99157322300016]