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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005024/0.005029, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001401/0.001401, allocations: 191.1 kB / 16.67 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.868/2.868, allocations: 469.4 MB / 0.7422 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001797/0.3195, allocations: 0.6186 MB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3215, allocations: 1.433 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.3215, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.3216, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.3216, allocations: 7.938 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.3224, allocations: 208.7 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3225, allocations: 39.89 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.3226, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.3226, allocations: 23.92 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.3227, allocations: 15.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3227, allocations: 3.938 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.3231, allocations: 247.7 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.3232, allocations: 7.984 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.3232, allocations: 15.88 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.3236, allocations: 227.4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3236, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3236, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3236, allocations: 0 / 1.223 GB, free: 11.82 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.0004708/0.3241, allocations: 404.7 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3242, allocations: 8.031 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3242, allocations: 38.75 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3243, allocations: 8.891 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3244, allocations: 176.3 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3244, allocations: 4.375 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3244, allocations: 4.312 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3246, allocations: 81.72 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3246, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3246, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3246, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.3247, allocations: 35.97 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.3249, allocations: 157.7 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.325, allocations: 58.55 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.3251, allocations: 52.86 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3251, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3251, allocations: 46.44 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3251, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003313/0.3255, allocations: 179.3 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3255, allocations: 89.09 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.3256, allocations: 114.5 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3256, allocations: 33.64 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.3257, allocations: 84.14 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3257, allocations: 27.73 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.3258, allocations: 25.75 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3259, allocations: 314.8 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.326, allocations: 31.98 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.326, allocations: 43.98 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3262, allocations: 144.3 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3262, allocations: 0 / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001969/0.3264, allocations: 151.3 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.3265, allocations: 37.69 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3265, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3265, allocations: 4.062 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.3265, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3265, allocations: 4 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3266, allocations: 7.953 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.3267, allocations: 7.984 kB / 1.225 GB, free: 9.215 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.0001001/0.3268, allocations: 148.1 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.3268, allocations: 11.94 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.3268, allocations: 8.312 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3268, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3268, allocations: 7.938 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3268, allocations: 0 / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3269, allocations: 169.6 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.327, allocations: 4 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-06/0.327, allocations: 3.938 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.327, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.327, allocations: 4 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.327, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.327, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3272, allocations: 198.8 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3273, allocations: 88.94 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3273, allocations: 4 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.3273, allocations: 7.984 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.3274, allocations: 8 kB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3274, allocations: 4 kB / 1.225 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.3274, allocations: 95.25 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.633e-06/0.3274, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003264/0.3278, allocations: 79.8 kB / 1.226 GB, free: 8.277 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.000689/0.3285, allocations: 0.7858 MB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3287, allocations: 203.2 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3288, allocations: 0 / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.3289, allocations: 151.3 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.3291, allocations: 14.02 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.3296, allocations: 222.2 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3298, allocations: 0.6924 MB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.953e-06/0.3298, allocations: 3.938 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.3299, allocations: 11.44 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3299, allocations: 0 / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.3473, allocations: 3.107 MB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.114, allocations: 3.312 kB / 1.231 GB, free: 3.117 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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