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.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.001645/0.001645, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002747/0.002747, allocations: 214 kB / 22.25 MB, free: 5.258 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.536/3.536, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> 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"}) [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.002252/0.002252, allocations: 61.5 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3828, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00205/0.3849, allocations: 0.6175 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3871, allocations: 1.428 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.3872, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.511e-05/0.3872, allocations: 3.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.3873, allocations: 7.984 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.388, allocations: 219.5 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.423e-05/0.3881, allocations: 35.97 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.3881, allocations: 288 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.3881, allocations: 15.92 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.3882, allocations: 23.91 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3882, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.3887, allocations: 267.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.3887, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.3888, allocations: 15.92 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.3891, allocations: 223.4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3891, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3891, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3891, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 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.0004201/0.3895, allocations: 331.7 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3896, allocations: 8.031 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.3896, allocations: 30.75 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.3896, allocations: 12.83 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3898, allocations: 122.4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3898, allocations: 384 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3898, allocations: 4.375 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.39, allocations: 115.5 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.39, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.39, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.39, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.3901, allocations: 65.67 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3902, allocations: 132.7 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3903, allocations: 88.19 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.3904, allocations: 74.56 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.3904, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3905, allocations: 34.5 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3905, allocations: 7.938 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003677/0.3908, allocations: 250.7 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3909, allocations: 89.05 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.391, allocations: 109.8 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.391, allocations: 25.7 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.3911, allocations: 88.14 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3911, allocations: 19.84 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3911, allocations: 21.72 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3913, allocations: 314.8 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.3914, allocations: 69.67 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.3914, allocations: 65.83 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3916, allocations: 156.2 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3916, allocations: 4 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002153/0.3918, allocations: 180.9 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.3919, allocations: 45.62 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3919, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3919, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3919, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3919, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.392, allocations: 11.92 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.392, allocations: 4 kB / 1.369 GB, free: 8.469 MB / 1.061 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.0001118/0.3921, allocations: 152.7 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3922, allocations: 7.938 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.3922, allocations: 12.36 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3922, allocations: 4 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3922, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3922, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3923, allocations: 132.7 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3923, allocations: 3.938 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-06/0.3923, allocations: 3.938 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3923, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3923, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3923, allocations: 7.984 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3923, allocations: 0.625 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.3926, allocations: 229.5 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3926, allocations: 11.89 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3926, allocations: 7.938 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.3927, allocations: 7.984 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.3927, allocations: 0 / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3927, allocations: 8 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.3928, allocations: 95.25 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3928, allocations: 0 / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002959/0.393, allocations: 71.89 kB / 1.369 GB, free: 7.629 MB / 1.061 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.0007877/0.3938, allocations: 0.8303 MB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3941, allocations: 230.6 kB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3941, allocations: 0 / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.3943, allocations: 153 kB / 1.37 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3944, allocations: 7.938 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.3949, allocations: 252 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.395, allocations: 71.25 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.21e-06/0.395, allocations: 4.156 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.395, allocations: 19.41 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.395, allocations: 0 / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4274, allocations: 3.672 MB / 1.374 GB, free: 2.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 7.312 kB / 1.374 GB, free: 2.391 MB / 1.061 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable yMonotone in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.128640606068075]