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.001299/0.001299, 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.001508/0.001508, allocations: 207.3 kB / 22.24 MB, free: 5.262 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 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.76/2.76, allocations: 476 MB / 0.7699 GB, free: 4.754 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.002156/0.002156, allocations: 67.03 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002839/0.3644, allocations: 1.521 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3657, allocations: 0.6991 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.3657, allocations: 8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.366, allocations: 131.7 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3661, allocations: 71.83 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.3668, allocations: 189.9 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3669, allocations: 63.81 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.3669, allocations: 3.984 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.367, allocations: 39.89 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3671, allocations: 91.83 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3672, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.3676, allocations: 235.6 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.3677, allocations: 63.77 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.3678, allocations: 47.61 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.3682, allocations: 278.5 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.02 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.0007319/0.3689, allocations: 444.8 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.369, allocations: 16.02 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.369, allocations: 34.75 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.369, allocations: 20.8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3693, allocations: 202.7 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3693, allocations: 4.375 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3693, allocations: 384 / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3695, allocations: 89.7 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3695, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3695, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3695, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3698, allocations: 87.92 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3704, allocations: 367.8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3706, allocations: 90.47 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3707, allocations: 52.89 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.3707, allocations: 15.98 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3708, allocations: 38.5 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3708, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004516/0.3712, allocations: 177.5 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3713, allocations: 55.41 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.3717, allocations: 356.5 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3717, allocations: 25.7 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3718, allocations: 144 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3718, allocations: 7.953 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.3718, allocations: 25.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.372, allocations: 342.8 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.3722, allocations: 87.95 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3723, allocations: 104.1 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3726, allocations: 200.8 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3727, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003836/0.373, allocations: 257.4 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3731, allocations: 8 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3731, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3731, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.3732, allocations: 15.92 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3732, allocations: 0 / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.3732, allocations: 19.88 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3732, allocations: 0 / 1.289 GB, free: 5.602 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.0001284/0.3734, allocations: 143.3 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3734, allocations: 19.86 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3737, allocations: 146.7 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3737, allocations: 4.031 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3737, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3737, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.374, allocations: 212.6 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.374, allocations: 0 / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.374, allocations: 11.98 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.374, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.374, allocations: 11.88 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.374, allocations: 0 / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.374, allocations: 0 / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3744, allocations: 235.3 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.3744, allocations: 23.86 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3744, allocations: 0 / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.3745, allocations: 7.984 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3746, allocations: 8 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3746, allocations: 4 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002605/0.3748, allocations: 251 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3748, allocations: 3.938 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003328/0.3752, allocations: 63.88 kB / 1.29 GB, free: 4.406 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.0008452/0.376, allocations: 0.8293 MB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.3763, allocations: 139.9 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3763, allocations: 0 / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3765, allocations: 43.97 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3768, allocations: 16.75 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.3801, allocations: 2.737 MB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3802, allocations: 127.2 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.786e-05/0.3803, allocations: 12.48 kB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/0.3804, allocations: 55.66 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3804, allocations: 0 / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.413, allocations: 4.854 MB / 1.299 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 6.234 kB / 1.299 GB, free: 11.64 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.65030935080722]