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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 71.88 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7835, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002131/0.7856, allocations: 1.533 MB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.7866, allocations: 0.7447 MB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.7866, allocations: 0.9688 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.7868, allocations: 135.3 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.7869, allocations: 69.34 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.7874, allocations: 179.9 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.7875, allocations: 68.16 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.7875, allocations: 1.062 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.7876, allocations: 43.5 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.7877, allocations: 90.25 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.7877, allocations: 1.75 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.788, allocations: 231.9 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.7881, allocations: 65.36 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.7882, allocations: 58.11 kB / 1.275 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.7885, allocations: 278.9 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.7885, allocations: 0.75 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7885, allocations: 4 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.7885, allocations: 0.8125 kB / 1.275 GB, free: 5.848 MB / 0.9981 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.0005041/0.789, allocations: 0.5068 MB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.789, allocations: 9.562 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.013e-05/0.789, allocations: 31.53 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.7891, allocations: 21.33 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.7893, allocations: 260.8 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-06/0.7893, allocations: 5.828 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7893, allocations: 1.469 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.7894, allocations: 86.81 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7894, allocations: 1 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.7894, allocations: 0 / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7895, allocations: 0.9375 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.7896, allocations: 85.83 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.7901, allocations: 398.8 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.7902, allocations: 92.69 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.7903, allocations: 46.02 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7904, allocations: 17.02 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.7904, allocations: 35.38 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7904, allocations: 4.906 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003898/0.7908, allocations: 174.4 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.7908, allocations: 52.19 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.7911, allocations: 352.9 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.7911, allocations: 25.7 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.7911, allocations: 139.8 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.7911, allocations: 13.02 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.7912, allocations: 30.78 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.7912, allocations: 342.4 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7914, allocations: 97.59 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.7915, allocations: 95.5 kB / 1.278 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.7918, allocations: 208.6 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7918, allocations: 4.844 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003229/0.7921, allocations: 245.3 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7921, allocations: 8.75 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7921, allocations: 0 / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7921, allocations: 0.9375 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.7922, allocations: 8.234 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.7922, allocations: 6.281 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.7923, allocations: 15 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.7923, allocations: 4.781 kB / 1.278 GB, free: 3.723 MB / 0.9981 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 8.581e-05/0.7924, allocations: 156.3 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.7924, allocations: 19.8 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.7927, allocations: 144.3 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7927, allocations: 0 / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.7927, allocations: 1.219 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7927, allocations: 8.016 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.7929, allocations: 243.5 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7929, allocations: 1.25 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.7929, allocations: 8.562 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7929, allocations: 0 / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.7929, allocations: 0.8125 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7929, allocations: 3.938 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7929, allocations: 1.531 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.7932, allocations: 237.6 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.7932, allocations: 102.3 kB / 1.279 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7933, allocations: 2.203 kB / 1.279 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.7933, allocations: 9.203 kB / 1.279 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.7934, allocations: 3.312 kB / 1.279 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7934, allocations: 0 / 1.279 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002166/0.7936, allocations: 251.1 kB / 1.279 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7936, allocations: 4.031 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000332/0.7939, allocations: 66.06 kB / 1.279 GB, free: 2.918 MB / 0.9981 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.0005462/0.7945, allocations: 0.8305 MB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.7947, allocations: 149.5 kB / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7947, allocations: 0 / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.7948, allocations: 40.58 kB / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.7951, allocations: 16.84 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.7974, allocations: 2.737 MB / 1.283 GB, free: 16.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.7977, allocations: 0.7369 MB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.7978, allocations: 19.45 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.7978, allocations: 55.97 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.7978, allocations: 0 / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.8243, allocations: 4.268 MB / 1.288 GB, free: 15.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/8.05, allocations: 14.25 kB / 1.288 GB, free: 15.39 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.431737928003713]