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.00139/0.00139, allocations: 110.2 kB / 19.69 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.001534/0.001534, allocations: 215.5 kB / 23.01 MB, free: 4.57 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.73/1.73, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.807/2.807, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.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.002109/0.002109, allocations: 67.95 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001853/0.3344, allocations: 0.631 MB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3365, allocations: 1.503 MB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3365, allocations: 4 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.3366, allocations: 0 / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.3366, allocations: 3.938 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.3373, allocations: 211.5 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.3374, allocations: 39.91 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.3375, allocations: 7.984 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.3375, allocations: 11.98 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.3375, allocations: 27.91 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3376, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.338, allocations: 287.6 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.3381, allocations: 7.922 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3381, allocations: 23.81 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.3384, allocations: 223.3 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3384, allocations: 0 / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3384, allocations: 0 / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3384, allocations: 0 / 1.288 GB, free: 8.242 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.000415/0.3389, allocations: 331.6 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3389, allocations: 12.03 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3389, allocations: 0.9375 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.339, allocations: 110.5 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3391, allocations: 4.375 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3391, allocations: 4.312 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3392, allocations: 73.97 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.3392, allocations: 4 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3392, allocations: 3.984 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3393, allocations: 4 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.3393, allocations: 31.98 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3395, allocations: 136.7 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.3396, allocations: 58.55 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.3396, allocations: 44.8 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.3396, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3397, allocations: 38.5 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.3397, allocations: 0 / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003486/0.34, allocations: 191.3 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3401, allocations: 77.11 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.3402, allocations: 114 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3402, allocations: 25.7 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3402, allocations: 92.11 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3403, allocations: 15.86 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3403, allocations: 25.7 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3405, allocations: 322.9 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.3405, allocations: 39.84 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.3406, allocations: 39.97 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3408, allocations: 140.2 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3408, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002774/0.341, allocations: 151.3 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.3411, allocations: 37.62 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3411, allocations: 4.625 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3411, allocations: 0 / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3411, allocations: 4.062 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3411, allocations: 0 / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3412, allocations: 11.92 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3412, allocations: 8 kB / 1.29 GB, free: 5.902 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.0001129/0.3413, allocations: 155.4 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.3413, allocations: 11.89 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.3414, allocations: 8.359 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3414, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3414, allocations: 4 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3414, allocations: 4 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3415, allocations: 132.7 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3415, allocations: 0 / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3415, allocations: 0 / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3415, allocations: 3.938 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3415, allocations: 11.97 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3415, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3415, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3418, allocations: 202.7 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.3418, allocations: 15.89 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3418, allocations: 4 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.3418, allocations: 4 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.3419, allocations: 3.984 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3419, allocations: 11.94 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.3419, allocations: 95.25 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003012/0.3422, allocations: 67.88 kB / 1.29 GB, free: 5.098 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.000307/0.3425, allocations: 171 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3428, allocations: 155.3 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3428, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3429, allocations: 119.3 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.3431, allocations: 6.344 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3434, allocations: 198.4 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3438, allocations: 0.6885 MB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3438, allocations: 11.56 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3438, allocations: 0 / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of Templates: time 0.003715/0.3475, allocations: 1.716 MB / 1.293 GB, free: 1.961 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/jenkins1/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: 12.041201174986782]