Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001519/0.001519, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.001436/0.001436, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.809/2.809, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.003501/0.003501, allocations: 71.84 kB / 1.112 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002895/1.029, allocations: 1.496 MB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001494/1.031, allocations: 0.8196 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/1.031, allocations: 0 / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/1.031, allocations: 135.7 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006281/1.032, allocations: 180.9 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/1.032, allocations: 77.62 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/1.032, allocations: 71.8 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/1.032, allocations: 4 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/1.032, allocations: 43.88 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/1.032, allocations: 95.75 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/1.032, allocations: 4 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/1.033, allocations: 231.7 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/1.033, allocations: 107.7 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/1.033, allocations: 91.16 kB / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/1.033, allocations: 354.5 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.033, allocations: 0 / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/1.033, allocations: 4 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.033, allocations: 0 / 1.282 GB, free: 9.691 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.0009883/1.034, allocations: 0.6182 MB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.034, allocations: 12.03 kB / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/1.034, allocations: 38.69 kB / 1.283 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/1.035, allocations: 32.7 kB / 1.283 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/1.035, allocations: 0.9164 MB / 1.283 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/1.035, allocations: 384 / 1.283 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/1.036, allocations: 384 / 1.283 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.036, allocations: 89.78 kB / 1.284 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/1.036, allocations: 0 / 1.284 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/1.036, allocations: 4 kB / 1.284 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.036, allocations: 0 / 1.284 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/1.036, allocations: 107.9 kB / 1.284 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/1.037, allocations: 0.5748 MB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.037, allocations: 106.5 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/1.037, allocations: 60.83 kB / 1.284 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/1.037, allocations: 23.98 kB / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.037, allocations: 34.5 kB / 1.284 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.037, allocations: 0 / 1.284 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005383/1.038, allocations: 217.4 kB / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.038, allocations: 51.41 kB / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/1.039, allocations: 1.212 MB / 1.286 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.039, allocations: 25.7 kB / 1.286 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.039, allocations: 176.1 kB / 1.286 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.039, allocations: 3.953 kB / 1.286 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/1.039, allocations: 17.84 kB / 1.286 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.039, allocations: 354.7 kB / 1.286 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.039, allocations: 43.97 kB / 1.286 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.04, allocations: 55.95 kB / 1.287 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/1.04, allocations: 108.8 kB / 1.287 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.04, allocations: 4 kB / 1.287 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003116/1.04, allocations: 161.4 kB / 1.287 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.04, allocations: 8 kB / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.04, allocations: 0 / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.04, allocations: 0 / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/1.04, allocations: 7.984 kB / 1.287 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.04, allocations: 0 / 1.287 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/1.04, allocations: 19.97 kB / 1.287 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/1.04, allocations: 0 / 1.287 GB, free: 4.398 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 (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 prepare postOptimizeDAE: time 0.000148/1.041, allocations: 169.7 kB / 1.287 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/1.041, allocations: 35.77 kB / 1.287 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/1.041, allocations: 180 kB / 1.287 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.041, allocations: 0 / 1.287 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.041, allocations: 3.984 kB / 1.287 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.041, allocations: 4.031 kB / 1.287 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/1.041, allocations: 293.5 kB / 1.287 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.041, allocations: 0 / 1.287 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/1.041, allocations: 11.98 kB / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.041, allocations: 0 / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/1.041, allocations: 0 / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.041, allocations: 0 / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.041, allocations: 0 / 1.287 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/1.042, allocations: 271.1 kB / 1.288 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.042, allocations: 124.9 kB / 1.288 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/1.042, allocations: 3.984 kB / 1.288 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.042, allocations: 8 kB / 1.288 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/1.042, allocations: 0 / 1.288 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/1.042, allocations: 3.938 kB / 1.288 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000993/1.043, allocations: 0.9559 MB / 1.289 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/1.043, allocations: 4.031 kB / 1.289 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00041/1.043, allocations: 75.88 kB / 1.289 GB, free: 2.184 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.000866/1.044, allocations: 0.8415 MB / 1.29 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002814/1.045, allocations: 111.9 kB / 1.29 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.045, allocations: 0 / 1.29 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/1.045, allocations: 47.97 kB / 1.29 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/1.045, allocations: 25.56 kB / 1.29 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/1.053, allocations: 6.783 MB / 1.296 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/1.053, allocations: 0.7799 MB / 1.297 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.385e-05/1.053, allocations: 42.92 kB / 1.297 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.054, allocations: 91.41 kB / 1.297 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.054, allocations: 0 / 1.297 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/1.092, allocations: 7.178 MB / 1.304 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.668, allocations: 10.27 kB / 1.304 GB, free: 2.25 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 16.10064388299361]