Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002073/0.002073, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002529/0.002529, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",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.001986/0.001986, allocations: 75.75 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3745, allocations: 176.1 MB / 1.327 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003198/0.3777, allocations: 1.525 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3793, allocations: 0.7868 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.3794, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3796, allocations: 127.8 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3798, allocations: 79.77 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.3806, allocations: 197.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3808, allocations: 67.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.3808, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.3809, allocations: 39.89 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3811, allocations: 87.89 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3811, allocations: 7.938 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005243/0.3816, allocations: 251.6 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3817, allocations: 59.83 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.3818, allocations: 59.48 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.3823, allocations: 279 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3823, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3823, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3824, allocations: 4 kB / 1.33 GB, free: 14.33 MB / 1.029 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.0008083/0.3832, allocations: 446.3 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3832, allocations: 12.03 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.3832, allocations: 192 / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.3833, allocations: 34.69 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.3833, allocations: 20.8 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3836, allocations: 206.7 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3836, allocations: 384 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3836, allocations: 4.375 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3839, allocations: 81.59 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3839, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3839, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3839, allocations: 0 / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3842, allocations: 87.92 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.3848, allocations: 375.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.385, allocations: 94.52 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3851, allocations: 44.89 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.3852, allocations: 19.97 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3852, allocations: 38.56 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3852, allocations: 0 / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004801/0.3857, allocations: 181.4 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3857, allocations: 51.41 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.3862, allocations: 360.4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3862, allocations: 29.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3863, allocations: 132.1 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.3863, allocations: 3.953 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.3864, allocations: 33.83 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.3866, allocations: 334.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3868, allocations: 95.94 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3869, allocations: 99.88 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3873, allocations: 207.1 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3873, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004292/0.3877, allocations: 265.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3877, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3877, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3877, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3879, allocations: 11.98 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3879, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.3879, allocations: 15.84 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3879, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 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.0001528/0.3881, allocations: 154.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.3881, allocations: 19.86 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.3885, allocations: 142.6 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3885, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3885, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3885, allocations: 4 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3888, allocations: 212.6 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3888, allocations: 4.031 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.3888, allocations: 8 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3888, allocations: 0 / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3888, allocations: 3.938 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3888, allocations: 3.984 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3888, allocations: 0 / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3892, allocations: 235.3 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3892, allocations: 27.84 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.3893, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.3893, allocations: 7.984 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3894, allocations: 7.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3894, allocations: 4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002888/0.3897, allocations: 247 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3897, allocations: 4 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003997/0.3901, allocations: 67.86 kB / 1.334 GB, free: 9.703 MB / 1.029 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.0009883/0.3911, allocations: 0.8176 MB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3914, allocations: 155.9 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3914, allocations: 4 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3915, allocations: 43.97 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.3919, allocations: 10.53 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.3956, allocations: 2.729 MB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.3961, allocations: 0.7353 MB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.407e-05/0.3961, allocations: 16.48 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3962, allocations: 59.42 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of SimCode: time 1.383e-06/0.3962, allocations: 0 / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.4228, allocations: 4.439 MB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 2.344 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.089526487980038]