Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001341, allocations: 108.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 189.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 58.81 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001874/0.3162, allocations: 0.6814 MB / 1.064 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.318, allocations: 1.431 MB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3181, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.3182, allocations: 7.875 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.3182, allocations: 11.98 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.319, allocations: 190.7 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.3191, allocations: 31.98 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.3191, allocations: 3.984 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.3192, allocations: 15.94 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.3192, allocations: 31.84 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3192, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.3196, allocations: 243.7 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.3197, allocations: 7.984 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.3197, allocations: 15.88 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3199, allocations: 139.8 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3199, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3199, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.32, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8419 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.0004195/0.3204, allocations: 405.4 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3204, allocations: 8.031 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3205, allocations: 12.84 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3206, allocations: 184.1 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3206, allocations: 384 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.3206, allocations: 4.375 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3208, allocations: 73.97 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3208, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3208, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3208, allocations: 7.922 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.3209, allocations: 39.97 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.3211, allocations: 157.7 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.3212, allocations: 66.48 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.3212, allocations: 52.86 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3213, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3213, allocations: 34.5 kB / 1.067 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3213, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003138/0.3216, allocations: 183.3 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3217, allocations: 89.14 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.3218, allocations: 121.7 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3218, allocations: 25.7 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.3218, allocations: 84.14 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.3219, allocations: 19.66 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3219, allocations: 25.7 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.322, allocations: 314.8 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.3221, allocations: 35.97 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.3222, allocations: 43.97 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3223, allocations: 148.3 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3223, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001917/0.3225, allocations: 152 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.3226, allocations: 39.66 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3226, allocations: 4 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3226, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3226, allocations: 3.938 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3226, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3227, allocations: 4 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.3228, allocations: 16.05 kB / 1.069 GB, free: 9.949 MB / 0.8419 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.0001077/0.3229, allocations: 151.5 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.3229, allocations: 11.84 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.3229, allocations: 4.375 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3229, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.323, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.323, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3231, allocations: 165.6 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3231, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.3231, allocations: 7.938 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3231, allocations: 3.938 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3231, allocations: 4 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3231, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3231, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3234, allocations: 194.7 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3234, allocations: 92.89 kB / 1.069 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3234, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.3235, allocations: 16.02 kB / 1.069 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3235, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3235, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.3236, allocations: 95.27 kB / 1.069 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3236, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003068/0.3239, allocations: 71.98 kB / 1.07 GB, free: 9.027 MB / 0.8419 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.0003192/0.3242, allocations: 153.6 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3245, allocations: 203.3 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3245, allocations: 4.062 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3246, allocations: 151.3 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.3248, allocations: 5.891 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.3251, allocations: 206.5 kB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3254, allocations: 0.6846 MB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.3254, allocations: 11.44 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3254, allocations: 4.062 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.00348/0.3289, allocations: 1.709 MB / 1.073 GB, free: 5.828 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches