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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009344, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.06 kB / 0.8992 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001725/0.3029, allocations: 0.6148 MB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3046, allocations: 1.447 MB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.3047, allocations: 4 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.133e-05/0.3047, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.3048, allocations: 3.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.3055, allocations: 211.5 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.3056, allocations: 35.97 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3056, allocations: 8 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.3057, allocations: 19.92 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.3057, allocations: 15.98 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3057, allocations: 3.938 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.3061, allocations: 239.7 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.3062, allocations: 11.92 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.3062, allocations: 19.81 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3065, allocations: 215.6 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3065, allocations: 4 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3065, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3065, allocations: 0 / 1.056 GB, free: 5.371 MB / 0.8106 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.0004068/0.307, allocations: 401.4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.307, allocations: 8.625 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.307, allocations: 38.75 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.3071, allocations: 4.844 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3072, allocations: 176.2 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3072, allocations: 4.312 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3073, allocations: 8.312 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3074, allocations: 73.78 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3074, allocations: 4 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3074, allocations: 8 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3074, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.3075, allocations: 35.97 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.3077, allocations: 157.7 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.3078, allocations: 66.48 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.3078, allocations: 48.86 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3078, allocations: 0 / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3079, allocations: 42.5 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.3079, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002994/0.3082, allocations: 191.4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3082, allocations: 85.09 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.3083, allocations: 109.8 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3083, allocations: 25.7 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.3084, allocations: 88.14 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3084, allocations: 31.48 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.3085, allocations: 25.75 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.3086, allocations: 314.8 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.3086, allocations: 31.97 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.3087, allocations: 39.97 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3088, allocations: 140.2 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3088, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001722/0.309, allocations: 151.3 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.309, allocations: 39.09 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3091, allocations: 64 / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3091, allocations: 4 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3091, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3091, allocations: 3.938 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.3092, allocations: 15.94 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3092, allocations: 7.984 kB / 1.058 GB, free: 2.766 MB / 0.8106 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 9.012e-05/0.3093, allocations: 149.1 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3093, allocations: 11.84 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/0.3093, allocations: 8.375 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3093, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3094, allocations: 3.938 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3094, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.3095, allocations: 165.6 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3095, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.3095, allocations: 3.938 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.3095, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3095, allocations: 3.984 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3095, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3095, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3097, allocations: 202.7 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.3098, allocations: 81.05 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3098, allocations: 8 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.3098, allocations: 11.98 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.3099, allocations: 7.938 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3099, allocations: 4 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.3099, allocations: 91.89 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3099, allocations: 0 / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002712/0.3102, allocations: 80.02 kB / 1.059 GB, free: 1.832 MB / 0.8106 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.0006067/0.3108, allocations: 0.786 MB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3111, allocations: 203.3 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3111, allocations: 3.938 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3112, allocations: 147.5 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3114, allocations: 12.05 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.3118, allocations: 214.5 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.312, allocations: 0.6885 MB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.61e-06/0.3121, allocations: 3.938 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3121, allocations: 11.44 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3121, allocations: 0 / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.3315, allocations: 3.087 MB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.786, allocations: 9.219 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > 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