Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001794/0.001794, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002081/0.002081, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7672 GB, free: 5.176 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_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.002172/0.002172, allocations: 67.91 kB / 1.112 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9022/0.9043, allocations: 169.9 MB / 1.278 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002759/0.9071, allocations: 1.522 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.9084, allocations: 0.7767 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.9084, allocations: 0 / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.9087, allocations: 131.8 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.9088, allocations: 75.77 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.9094, allocations: 177.4 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.9095, allocations: 67.75 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.9096, allocations: 11.98 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.9096, allocations: 31.95 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.9097, allocations: 91.81 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.9098, allocations: 4 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.9102, allocations: 231.7 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.9103, allocations: 59.77 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.9103, allocations: 59.47 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.9107, allocations: 278.9 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9107, allocations: 0 / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9107, allocations: 8 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.9107, allocations: 0 / 1.282 GB, free: 9.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007173/0.9114, allocations: 0.5057 MB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9115, allocations: 12.03 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.9115, allocations: 30.75 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.9116, allocations: 20.8 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.9119, allocations: 259.9 kB / 1.283 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9119, allocations: 384 / 1.283 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.9119, allocations: 384 / 1.283 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.9121, allocations: 85.78 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.9121, allocations: 0 / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.9121, allocations: 0 / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.9121, allocations: 0 / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.9123, allocations: 91.86 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.9129, allocations: 404.7 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.9131, allocations: 90.52 kB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.9132, allocations: 44.89 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.9133, allocations: 19.98 kB / 1.283 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.9133, allocations: 34.56 kB / 1.283 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9133, allocations: 3.938 kB / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000468/0.9138, allocations: 185.3 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.9138, allocations: 51.41 kB / 1.284 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.9142, allocations: 351.3 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.9142, allocations: 29.7 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.9143, allocations: 136.1 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.9143, allocations: 8.016 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.9144, allocations: 33.7 kB / 1.284 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.9146, allocations: 338.8 kB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.9147, allocations: 95.94 kB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.9149, allocations: 95.94 kB / 1.285 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.9152, allocations: 207.5 kB / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9152, allocations: 8 kB / 1.285 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003972/0.9156, allocations: 245.4 kB / 1.285 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9156, allocations: 8 kB / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9156, allocations: 0 / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9156, allocations: 0 / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.9157, allocations: 4 kB / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9157, allocations: 7.984 kB / 1.285 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.9158, allocations: 11.89 kB / 1.285 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.9158, allocations: 4 kB / 1.285 GB, free: 6.25 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 (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.0001263/0.9159, allocations: 155 kB / 1.285 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.916, allocations: 19.86 kB / 1.285 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.9163, allocations: 146.5 kB / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9163, allocations: 0 / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9163, allocations: 0 / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.9163, allocations: 96 / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.9166, allocations: 257.5 kB / 1.286 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9166, allocations: 4 kB / 1.286 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.9166, allocations: 4 kB / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9166, allocations: 0 / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.9166, allocations: 0 / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.9166, allocations: 7.984 kB / 1.286 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9166, allocations: 0 / 1.286 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.917, allocations: 235.2 kB / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.917, allocations: 105 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.9171, allocations: 4 kB / 1.286 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.9172, allocations: 11.92 kB / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.9172, allocations: 4 kB / 1.286 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.9172, allocations: 0 / 1.286 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002588/0.9175, allocations: 249.9 kB / 1.286 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9175, allocations: 0 / 1.286 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003399/0.9178, allocations: 71.95 kB / 1.286 GB, free: 4.902 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 (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.0008456/0.9186, allocations: 0.8219 MB / 1.287 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.919, allocations: 151.9 kB / 1.287 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.919, allocations: 0 / 1.287 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.9191, allocations: 39.97 kB / 1.287 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.9194, allocations: 12.66 kB / 1.287 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.9226, allocations: 2.735 MB / 1.29 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.923, allocations: 0.7403 MB / 1.291 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.9231, allocations: 16.55 kB / 1.291 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.9231, allocations: 55.42 kB / 1.291 GB, free: 208 kB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9231, allocations: 0 / 1.291 GB, free: 208 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.9536, allocations: 4.305 MB / 1.295 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/9.274, allocations: 12.05 kB / 1.295 GB, free: 12.01 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.507233766838908]