Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.001336/0.001336, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001599/0.001599, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.008 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.31/3.31, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",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.002074/0.002074, allocations: 68.2 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003554/0.3859, allocations: 1.534 MB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3875, allocations: 0.783 MB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.3875, allocations: 0 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.3878, allocations: 131.7 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3879, allocations: 67.83 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.3885, allocations: 187.8 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3886, allocations: 71.81 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.3887, allocations: 11.91 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.3887, allocations: 35.95 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3889, allocations: 91.77 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3889, allocations: 4 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.3893, allocations: 267.5 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3895, allocations: 59.83 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.053e-05/0.3895, allocations: 59.42 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.39, allocations: 271 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.39, allocations: 0 / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.535e-06/0.39, allocations: 0 / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.39, allocations: 4 kB / 1.356 GB, free: 4.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008596/0.3909, allocations: 440.8 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.3909, allocations: 8.031 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.391, allocations: 30.75 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.391, allocations: 24.78 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3913, allocations: 210.7 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3914, allocations: 384 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3914, allocations: 8.312 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3916, allocations: 81.78 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3916, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3916, allocations: 0 / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3916, allocations: 4 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.3918, allocations: 83.92 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.3924, allocations: 367.8 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3926, allocations: 90.47 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3927, allocations: 48.89 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.3927, allocations: 15.98 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3928, allocations: 38.55 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3928, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004652/0.3932, allocations: 173.5 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3933, allocations: 51.41 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.3937, allocations: 368.3 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3937, allocations: 29.7 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3938, allocations: 132.1 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3939, allocations: 7.938 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.3939, allocations: 33.83 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3941, allocations: 338.8 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3943, allocations: 95.94 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3944, allocations: 91.95 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.3947, allocations: 211.1 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3947, allocations: 4 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003703/0.3951, allocations: 249.4 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3951, allocations: 4 kB / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3951, allocations: 0 / 1.359 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3952, allocations: 11.88 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.3953, allocations: 7.984 kB / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3953, allocations: 0 / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.3953, allocations: 27.83 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.3953, allocations: 4 kB / 1.36 GB, free: 1.449 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001224/0.3955, allocations: 145.7 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3955, allocations: 19.86 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3958, allocations: 138.7 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3958, allocations: 0 / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3958, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3958, allocations: 0 / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.396, allocations: 220.6 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.396, allocations: 0 / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3961, allocations: 15.92 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3961, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3961, allocations: 4 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3961, allocations: 0 / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3961, allocations: 0 / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3964, allocations: 235.3 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.3965, allocations: 23.86 kB / 1.36 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3965, allocations: 3.984 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.3966, allocations: 4 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3966, allocations: 16.06 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3966, allocations: 3.938 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002512/0.3969, allocations: 251 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3969, allocations: 0 / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004272/0.3973, allocations: 71.89 kB / 1.361 GB, free: 248 kB / 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0008914/0.3982, allocations: 0.8181 MB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.3985, allocations: 143.9 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3985, allocations: 0 / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3986, allocations: 47.91 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.399, allocations: 16.64 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.4021, allocations: 2.727 MB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4025, allocations: 0.7353 MB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.4026, allocations: 16.48 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.4026, allocations: 55.42 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4026, allocations: 3.938 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.4329, allocations: 4.393 MB / 1.369 GB, free: 7.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.38, allocations: 11.25 kB / 1.369 GB, free: 7.316 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.547387988000082]