Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00118/0.00118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001791/0.00297, 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.001318/0.001318, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002962, 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 1.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09114/1.1, 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.908/1.908, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5154/2.424, allocations: 123.3 MB / 0.728 GB, free: 5.824 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.803e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002133/0.002162, allocations: 1.571 MB / 0.7309 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.00309, allocations: 0.7905 MB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.003128, allocations: 1.094 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.003304, allocations: 141.3 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.003676, allocations: 176.4 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.468e-05/0.003771, allocations: 61.52 kB / 0.732 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.003866, allocations: 67.27 kB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003968, allocations: 12.64 kB / 0.7321 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.004071, allocations: 63.59 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.004158, allocations: 71.16 kB / 0.7322 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.004171, allocations: 4.656 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.004511, allocations: 258.7 kB / 0.7325 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.004607, allocations: 104.8 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.004641, allocations: 31.81 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.004945, allocations: 299 kB / 0.7329 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.00496, allocations: 0 / 0.7329 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00496, allocations: 0.7812 kB / 0.7329 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.004974, allocations: 0 / 0.7329 GB, free: 0.9297 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.0004868/0.00546, allocations: 0.4914 MB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.005492, allocations: 13.09 kB / 0.7334 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.005529, allocations: 16.91 kB / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.005725, allocations: 239 kB / 0.7336 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.005735, allocations: 5.094 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.005743, allocations: 384 / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/0.005837, allocations: 58.31 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005845, allocations: 12.98 kB / 0.7337 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.005851, allocations: 384 / 0.7337 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005856, allocations: 3.938 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.005877, allocations: 4.875 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.006087, allocations: 167.2 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.006138, allocations: 66.75 kB / 0.7339 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.006155, allocations: 12.92 kB / 0.7339 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.006209, allocations: 27.97 kB / 0.734 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.006229, allocations: 35.16 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.00623, allocations: 0 / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.006338, allocations: 51.41 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.006367, allocations: 51.41 kB / 0.7341 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.006582, allocations: 380.9 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006594, allocations: 25.7 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.006644, allocations: 122 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.00666, allocations: 7.938 kB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.006697, allocations: 38.41 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.006779, allocations: 346.7 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.006804, allocations: 15.7 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.006825, allocations: 27.92 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.006874, allocations: 53.7 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006876, allocations: 0.75 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.481e-05/0.006961, allocations: 85.66 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006973, allocations: 4.688 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006978, allocations: 1.031 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.006988, allocations: 3.938 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.007108, allocations: 31.92 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007112, allocations: 4.688 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.00714, allocations: 7.984 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.007146, allocations: 4.719 kB / 0.7352 GB, free: 14.4 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 5.754e-05/0.007203, allocations: 113.2 kB / 0.7353 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.007225, allocations: 17.11 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.007339, allocations: 63.88 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.007343, allocations: 3.938 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.007345, allocations: 5.031 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007348, allocations: 0 / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.007452, allocations: 123.5 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007454, allocations: 0 / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.007482, allocations: 4 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.007516, allocations: 31.8 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.007518, allocations: 0 / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.007522, allocations: 1.219 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.007524, allocations: 3.938 kB / 0.7356 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007525, allocations: 0 / 0.7356 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.597e-05/0.007611, allocations: 187 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.007624, allocations: 4 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.007662, allocations: 4.609 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.007689, allocations: 12.62 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.007691, allocations: 0 / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001097/0.007801, allocations: 173 kB / 0.7359 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.007801, allocations: 0 / 0.7359 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002045/0.008005, allocations: 79.86 kB / 0.736 GB, free: 13.55 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.000197/0.008202, allocations: 156.9 kB / 0.7361 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.437e-05/0.008277, allocations: 39.14 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.008282, allocations: 4 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.008296, allocations: 12.8 kB / 0.7362 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.00848, allocations: 30.61 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.0091, allocations: 451.8 kB / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.219e-05/0.009162, allocations: 99.92 kB / 0.7368 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.009199, allocations: 24.73 kB / 0.7368 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.009265, allocations: 75.36 kB / 0.7369 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.009267, allocations: 0 / 0.7369 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.005241/0.01451, allocations: 3.054 MB / 0.7398 GB, free: 9.73 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate/Buildings_12_Buildings.Utilities.Math.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: 5.008814699947834]