Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001471/0.001471, 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.001606/0.001606, allocations: 209.1 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.442/1.442, 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 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.784/2.784, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] 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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [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.002111/0.002111, allocations: 70.33 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 170 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00189/0.3277, allocations: 0.613 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.33, allocations: 1.437 MB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.3301, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.3301, allocations: 3.938 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.144e-05/0.3302, allocations: 3.984 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.331, allocations: 221.9 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.3311, allocations: 27.97 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3311, allocations: 3.984 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.3312, allocations: 23.91 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.3312, allocations: 19.98 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3312, allocations: 0 / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.3317, allocations: 267.6 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.3318, allocations: 11.88 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.3318, allocations: 11.92 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3322, allocations: 219.4 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3322, allocations: 4 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3322, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3322, allocations: 0 / 1.286 GB, free: 9.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005065/0.3327, allocations: 327.6 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3327, allocations: 8.031 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3328, allocations: 8.922 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3329, allocations: 114.5 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3329, allocations: 384 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3329, allocations: 8.312 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3331, allocations: 111.7 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3331, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3332, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3332, allocations: 4 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.3332, allocations: 61.67 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.3334, allocations: 113.2 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3335, allocations: 84.25 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.3336, allocations: 78.5 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.3336, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3337, allocations: 34.56 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.3337, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000394/0.3341, allocations: 270.5 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.3341, allocations: 81.11 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3342, allocations: 113.8 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3343, allocations: 25.7 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.3343, allocations: 92.08 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.3343, allocations: 11.86 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.3344, allocations: 25.7 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3345, allocations: 318.8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.3346, allocations: 69.77 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.3347, allocations: 73.64 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3349, allocations: 144.3 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3349, allocations: 0 / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002302/0.3351, allocations: 185 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.3352, allocations: 41.69 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3352, allocations: 3.938 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3352, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3352, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3352, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.3353, allocations: 11.94 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3353, allocations: 7.984 kB / 1.288 GB, free: 6.355 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001172/0.3354, allocations: 155.5 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.3354, allocations: 11.95 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.378e-05/0.3355, allocations: 8.312 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3355, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3355, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3355, allocations: 0 / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3356, allocations: 109.3 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3356, allocations: 0 / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3356, allocations: 4 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3356, allocations: 3.984 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3356, allocations: 0 / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3356, allocations: 11.94 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3356, allocations: 0 / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3359, allocations: 224.4 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.3359, allocations: 4 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3359, allocations: 7.984 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.3359, allocations: 7.938 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.336, allocations: 4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.336, allocations: 11.92 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.336, allocations: 87.91 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.336, allocations: 3.938 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002977/0.3363, allocations: 75.86 kB / 1.289 GB, free: 5.562 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003328/0.3367, allocations: 167 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.337, allocations: 226.7 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.337, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3371, allocations: 145 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.3373, allocations: 14.5 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.3377, allocations: 198.7 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.3378, allocations: 75.31 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.951e-06/0.3378, allocations: 128 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.3378, allocations: 11.44 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3378, allocations: 7.938 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.005362/0.3432, allocations: 2.111 MB / 1.292 GB, free: 2.543 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.908322969451547]