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.001628/0.001628, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002319/0.002319, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.922/1.922, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 65.31 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4015, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002766/0.4043, allocations: 0.6853 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.4071, allocations: 1.439 MB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.4072, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.82e-05/0.4073, allocations: 7.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.4073, allocations: 4 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4084, allocations: 194.8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4085, allocations: 35.97 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.4086, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.4086, allocations: 19.91 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.4087, allocations: 27.86 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4087, allocations: 4 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.4093, allocations: 251.7 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.4094, allocations: 7.938 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.4094, allocations: 19.86 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.4099, allocations: 211.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4099, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4099, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4099, allocations: 0 / 1.055 GB, free: 5.715 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.0005699/0.4105, allocations: 401.4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4106, allocations: 16.62 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.4106, allocations: 30.75 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.4107, allocations: 8.844 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.4109, allocations: 180.2 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4109, allocations: 384 / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4109, allocations: 4.375 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4111, allocations: 73.78 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4112, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4112, allocations: 7.922 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4112, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.4113, allocations: 39.98 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.4115, allocations: 161.7 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4117, allocations: 66.55 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4118, allocations: 52.86 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4118, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4118, allocations: 38.48 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4119, allocations: 4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004432/0.4123, allocations: 187.2 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.4124, allocations: 77.11 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.4125, allocations: 117.8 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4125, allocations: 25.7 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.4126, allocations: 84.12 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.4127, allocations: 27.56 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.4127, allocations: 21.7 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4129, allocations: 322.9 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.413, allocations: 35.97 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.4131, allocations: 36.52 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4134, allocations: 152.4 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4134, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002777/0.4137, allocations: 151.3 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.4138, allocations: 34.64 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4138, allocations: 4 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4138, allocations: 0 / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.4138, allocations: 0 / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4138, allocations: 4.062 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.414, allocations: 11.92 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.414, allocations: 12 kB / 1.058 GB, free: 3.102 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 0.0001392/0.4142, allocations: 145.1 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.4142, allocations: 11.84 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.4142, allocations: 16.3 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4143, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4143, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4143, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.4144, allocations: 165.7 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4145, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-06/0.4145, allocations: 3.938 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4145, allocations: 0 / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4145, allocations: 11.92 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4145, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4145, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.4149, allocations: 194.7 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.415, allocations: 89.08 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.415, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.415, allocations: 8 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.4151, allocations: 3.984 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4151, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.4152, allocations: 91.27 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4152, allocations: 4 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005271/0.4157, allocations: 68 kB / 1.058 GB, free: 2.191 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.001031/0.4168, allocations: 0.8013 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.4171, allocations: 195.3 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4172, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4174, allocations: 151.3 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4176, allocations: 10.11 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.4183, allocations: 238.6 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4187, allocations: 0.6885 MB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.366e-06/0.4187, allocations: 0 / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.4187, allocations: 11.38 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 6.42e-07/0.4187, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.223/0.6417, allocations: 3.008 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/0.6421, allocations: 222.1 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/4.538, allocations: 0 / 1.063 GB, free: 12.89 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