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.001416/0.001416, 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.001557/0.001557, allocations: 217.4 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.333/3.333, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.002071/0.002071, allocations: 67.31 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3164, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002993/0.3194, allocations: 1.521 MB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3208, allocations: 0.7906 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.3209, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.3211, allocations: 131.8 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3212, allocations: 71.83 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.3219, allocations: 195.4 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.322, allocations: 63.81 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.322, allocations: 4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.3221, allocations: 43.88 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3222, allocations: 87.83 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3223, allocations: 3.938 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.3227, allocations: 255.6 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3228, allocations: 59.83 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.3229, allocations: 55.48 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.3233, allocations: 279 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3233, allocations: 0 / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3233, allocations: 0 / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3233, allocations: 0 / 1.331 GB, free: 13.94 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.0007328/0.324, allocations: 456.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3241, allocations: 8.031 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.3241, allocations: 24.8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3244, allocations: 198.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3244, allocations: 4.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.3244, allocations: 4.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3246, allocations: 77.97 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3246, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3246, allocations: 7.984 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3246, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3248, allocations: 87.92 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.3254, allocations: 367.8 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3256, allocations: 86.53 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3257, allocations: 56.81 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.3257, allocations: 23.92 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3257, allocations: 30.56 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3257, allocations: 4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000449/0.3262, allocations: 177.4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3262, allocations: 51.41 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.3266, allocations: 360.5 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3267, allocations: 25.7 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3268, allocations: 136.2 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3268, allocations: 15.94 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3268, allocations: 25.72 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.327, allocations: 330.8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3272, allocations: 95.94 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3273, allocations: 91.95 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.3277, allocations: 222.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3277, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003893/0.328, allocations: 256 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3281, allocations: 4 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3281, allocations: 7.984 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3281, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.3282, allocations: 8 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3282, allocations: 0 / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.3283, allocations: 23.88 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3283, allocations: 0 / 1.334 GB, free: 10.55 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.000137/0.3284, allocations: 141.8 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.3284, allocations: 27.8 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.3288, allocations: 138.7 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3288, allocations: 4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3288, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3288, allocations: 8.016 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.329, allocations: 212.6 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.329, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.3291, allocations: 11.98 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3291, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3291, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3291, allocations: 0 / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3291, allocations: 7.938 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3294, allocations: 231.3 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3295, allocations: 27.84 kB / 1.335 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3295, allocations: 4 kB / 1.335 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3296, allocations: 4 kB / 1.335 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3296, allocations: 11.92 kB / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3296, allocations: 0 / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002703/0.3299, allocations: 255 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3299, allocations: 4.031 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003735/0.3302, allocations: 67.86 kB / 1.335 GB, free: 9.344 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.000302/0.3305, allocations: 159.1 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.3309, allocations: 139.9 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3309, allocations: 0 / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.331, allocations: 47.95 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3313, allocations: 17.8 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.332, allocations: 409.3 kB / 1.336 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3324, allocations: 0.7431 MB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3324, allocations: 11.44 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3324, allocations: 0 / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of Templates: time 0.004817/0.3373, allocations: 2.414 MB / 1.339 GB, free: 5.367 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/jenkins1/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: 12.147541751008248]