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.001758/0.001758, 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.002305/0.002305, allocations: 214.2 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.554/1.554, 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.394/3.394, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.00208/0.00208, allocations: 71.52 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3836, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002884/0.3865, allocations: 1.51 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3879, allocations: 0.7217 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.388, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3882, allocations: 135.7 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.3883, allocations: 67.83 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.389, allocations: 195.7 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3892, allocations: 55.89 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3893, allocations: 7.984 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.3893, allocations: 39.89 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3895, allocations: 87.81 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3895, allocations: 4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.39, allocations: 243.6 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3901, allocations: 59.83 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.3901, allocations: 43.61 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3905, allocations: 275 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3905, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3905, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3906, allocations: 0 / 1.367 GB, free: 10.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007689/0.3913, allocations: 448.7 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3914, allocations: 8.031 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3914, allocations: 30.75 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.3915, allocations: 24.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.3918, allocations: 210.6 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3918, allocations: 8.312 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3918, allocations: 384 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.392, allocations: 81.78 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.392, allocations: 4 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.392, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.392, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3923, allocations: 83.94 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.3929, allocations: 351.9 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3931, allocations: 98.47 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3932, allocations: 52.88 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.3933, allocations: 15.98 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3933, allocations: 30.56 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3933, allocations: 0 / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004797/0.3938, allocations: 181.5 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.3939, allocations: 55.47 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.3943, allocations: 360.4 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3943, allocations: 25.7 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3944, allocations: 136.1 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.3945, allocations: 15.92 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3945, allocations: 25.66 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002405/0.3948, allocations: 342.8 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3949, allocations: 95.94 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3951, allocations: 91.95 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3954, allocations: 215.3 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3954, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004115/0.3959, allocations: 249.4 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3959, allocations: 7.984 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3959, allocations: 3.938 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.3959, allocations: 4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.396, allocations: 4 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.396, allocations: 0 / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.3961, allocations: 27.81 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3961, allocations: 0 / 1.37 GB, free: 7.18 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 (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.0001444/0.3963, allocations: 149.7 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3963, allocations: 19.86 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.3966, allocations: 134.7 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3966, allocations: 4 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3966, allocations: 3.984 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3966, allocations: 4.031 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3969, allocations: 204.6 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3969, allocations: 0 / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.397, allocations: 15.92 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.397, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.397, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.397, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.397, allocations: 96 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3973, allocations: 243.3 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.3974, allocations: 31.88 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3974, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.3975, allocations: 4 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3975, allocations: 7.984 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3975, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003263/0.3979, allocations: 251 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3979, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003787/0.3982, allocations: 71.86 kB / 1.371 GB, free: 5.984 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 (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.0009503/0.3992, allocations: 0.8175 MB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3995, allocations: 143.9 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3996, allocations: 8 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.3997, allocations: 47.89 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4, allocations: 17.97 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.4037, allocations: 2.729 MB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.4039, allocations: 127.2 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.404, allocations: 16.48 kB / 1.375 GB, free: 1.969 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.404, allocations: 51.42 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of SimCode: time 1.213e-06/0.404, allocations: 0 / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.438, allocations: 4.847 MB / 1.38 GB, free: 13.22 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.8, allocations: 8.219 kB / 1.38 GB, free: 13.21 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.02170313615352]