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.001608/0.001608, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002296/0.002296, allocations: 214.5 kB / 22.25 MB, free: 5.133 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.957 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.318/3.318, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.002274/0.002274, allocations: 72.88 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3958, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001878/0.3977, allocations: 0.6283 MB / 1.354 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.4, allocations: 1.506 MB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.4, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.882e-05/0.4001, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.4001, allocations: 3.938 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.4009, allocations: 215.5 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.401, allocations: 35.91 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.4011, allocations: 8.281 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.4011, allocations: 23.91 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.4012, allocations: 23.91 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.4012, allocations: 0 / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.4018, allocations: 279.6 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.4018, allocations: 8 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.4019, allocations: 15.86 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.4023, allocations: 223.3 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4023, allocations: 4 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4023, allocations: 4 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4023, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 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.0005546/0.4028, allocations: 327.6 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4029, allocations: 12.03 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.4029, allocations: 30.75 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.403, allocations: 8.891 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4031, allocations: 110.5 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4031, allocations: 384 / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.4032, allocations: 4.375 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4034, allocations: 85.66 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4034, allocations: 0 / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.4034, allocations: 7.984 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4034, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.4035, allocations: 31.98 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.4037, allocations: 140.6 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.4038, allocations: 50.55 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.4039, allocations: 44.8 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4039, allocations: 8 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4039, allocations: 34.5 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4039, allocations: 0 / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004051/0.4043, allocations: 179.5 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.4044, allocations: 81.11 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4045, allocations: 117.8 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4046, allocations: 29.7 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.4046, allocations: 88.16 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.4047, allocations: 23.81 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.4047, allocations: 25.7 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4048, allocations: 310.8 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.4049, allocations: 43.91 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.405, allocations: 39.97 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4051, allocations: 136.2 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4051, allocations: 0 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000208/0.4053, allocations: 147.3 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.4054, allocations: 45.75 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4054, allocations: 0.625 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4054, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.4054, allocations: 0 / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4054, allocations: 7.938 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4056, allocations: 15.88 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4056, allocations: 4 kB / 1.358 GB, free: 3.059 MB / 1.045 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.0001405/0.4058, allocations: 156.1 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.4058, allocations: 7.938 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.4058, allocations: 16.36 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.4058, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4058, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4058, allocations: 0 / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4059, allocations: 140.7 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4059, allocations: 0 / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-06/0.4059, allocations: 3.938 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4059, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.406, allocations: 7.984 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.406, allocations: 3.938 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.406, allocations: 3.984 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.4062, allocations: 202.7 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.4062, allocations: 11.89 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4063, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.4063, allocations: 8 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.4063, allocations: 7.984 kB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4063, allocations: 4 kB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.4064, allocations: 91.2 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4064, allocations: 4.031 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000302/0.4067, allocations: 75.88 kB / 1.359 GB, free: 2.246 MB / 1.045 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.0007794/0.4075, allocations: 0.7857 MB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.4077, allocations: 159.3 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4077, allocations: 4.094 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4079, allocations: 123.3 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.408, allocations: 5.562 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.4086, allocations: 222.2 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.409, allocations: 0.6846 MB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.264e-06/0.409, allocations: 0 / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.409, allocations: 15.42 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of SimCode: time 4.6e-07/0.409, allocations: 0 / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4384, allocations: 3.244 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.28, allocations: 6.312 kB / 1.364 GB, free: 13.03 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.55872986400027]