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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 200.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8742, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00299/0.8772, allocations: 1.511 MB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.8786, allocations: 0.7572 MB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.8786, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.8788, allocations: 127.8 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.8789, allocations: 75.81 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.8796, allocations: 175.5 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.8797, allocations: 59.86 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.8798, allocations: 2.672 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.8798, allocations: 43.88 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.88, allocations: 91.83 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.88, allocations: 4 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.8804, allocations: 235.6 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.8805, allocations: 67.8 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.8805, allocations: 59.42 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.8809, allocations: 275 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8809, allocations: 3.938 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8809, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8809, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 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.0007394/0.8817, allocations: 0.5096 MB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8817, allocations: 8.031 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.8818, allocations: 24.75 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.8821, allocations: 259.9 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.8821, allocations: 8.359 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.8821, allocations: 4.359 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.8823, allocations: 77.97 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8823, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8823, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.8823, allocations: 4 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.8826, allocations: 83.94 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.8833, allocations: 396.7 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.8835, allocations: 94.47 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.8836, allocations: 48.89 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.8836, allocations: 15.98 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.8837, allocations: 34.55 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.8837, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005112/0.8842, allocations: 177.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.8842, allocations: 59.44 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.8847, allocations: 351.2 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.8847, allocations: 25.7 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8848, allocations: 140.1 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.8848, allocations: 3.953 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.8849, allocations: 29.7 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8851, allocations: 338.8 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.8852, allocations: 99.94 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.8854, allocations: 95.89 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.8857, allocations: 208.7 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8857, allocations: 7.938 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004002/0.8861, allocations: 255.6 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8861, allocations: 8 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8862, allocations: 0 / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8862, allocations: 0 / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.8863, allocations: 11.98 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8863, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.8863, allocations: 15.88 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.8864, allocations: 0 / 1.281 GB, free: 13.48 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.000135/0.8865, allocations: 154.2 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.8865, allocations: 23.86 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.8868, allocations: 142.6 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8869, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8869, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8869, allocations: 3.938 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.8871, allocations: 245.5 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8871, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.8872, allocations: 7.984 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8872, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8872, allocations: 8.031 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8872, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8872, allocations: 0 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.8875, allocations: 235.3 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.8876, allocations: 105 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.8877, allocations: 0 / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.8877, allocations: 8.031 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.8878, allocations: 3.984 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.8878, allocations: 0 / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002492/0.888, allocations: 249.9 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.888, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003767/0.8884, allocations: 71.86 kB / 1.282 GB, free: 12.15 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.0003207/0.8887, allocations: 159 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.8891, allocations: 148 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8891, allocations: 0 / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.8892, allocations: 39.97 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.8895, allocations: 20.58 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.8903, allocations: 391.5 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.8908, allocations: 0.7354 MB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.8908, allocations: 20.55 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.8908, allocations: 19.42 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8908, allocations: 4 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.005895/0.8967, allocations: 2.116 MB / 1.285 GB, free: 8.453 MB / 0.9825 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 -s gbode -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_2/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: 8.789817261975259]