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.001585/0.001585, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001934/0.001934, allocations: 213 kB / 22.99 MB, free: 4.957 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.66 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [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.00211/0.00211, allocations: 68.55 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4656, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003214/0.4688, allocations: 1.514 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4703, allocations: 0.7168 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.4703, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.4706, allocations: 127.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.4707, allocations: 79.83 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.4714, allocations: 187.5 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.4716, allocations: 71.8 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.4716, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.4717, allocations: 43.88 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.4718, allocations: 91.83 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4718, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.4723, allocations: 247.6 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4724, allocations: 63.81 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.4725, allocations: 43.61 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.4729, allocations: 275 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4729, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4729, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4729, allocations: 0 / 1.33 GB, free: 13.5 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.0007781/0.4737, allocations: 444.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4737, allocations: 12.03 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.4738, allocations: 28.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4741, allocations: 206.6 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4741, allocations: 4.375 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4741, allocations: 384 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4743, allocations: 77.97 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4743, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4743, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4743, allocations: 3.938 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.4745, allocations: 87.94 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.4751, allocations: 336.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.4753, allocations: 90.47 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4754, allocations: 52.88 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.4755, allocations: 23.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4755, allocations: 30.56 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4755, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004694/0.476, allocations: 181.4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.476, allocations: 55.41 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4764, allocations: 356.5 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4764, allocations: 25.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4765, allocations: 132.1 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.4766, allocations: 15.94 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4766, allocations: 21.72 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4768, allocations: 338.9 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.477, allocations: 99.88 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.4771, allocations: 94.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.4774, allocations: 208.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4774, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000381/0.4778, allocations: 259 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4778, allocations: 8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4778, allocations: 3.984 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4779, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.4779, allocations: 8 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.478, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.478, allocations: 19.88 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.478, allocations: 4 kB / 1.334 GB, free: 10.16 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.000137/0.4782, allocations: 145.7 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.4782, allocations: 27.8 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.4785, allocations: 142.7 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4785, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4785, allocations: 0 / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4785, allocations: 7.984 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.4787, allocations: 181.3 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4787, allocations: 3.938 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.4788, allocations: 15.92 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4788, allocations: 0 / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4788, allocations: 4.031 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4788, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4788, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.4792, allocations: 231.3 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4793, allocations: 31.73 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.4793, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4794, allocations: 7.984 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4795, allocations: 4 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4795, allocations: 0 / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002645/0.4797, allocations: 259 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4797, allocations: 0 / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003555/0.4801, allocations: 67.88 kB / 1.335 GB, free: 8.988 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.0003117/0.4804, allocations: 159.1 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.4807, allocations: 139.9 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4807, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4809, allocations: 47.97 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4812, allocations: 16.53 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.4819, allocations: 379.7 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.482, allocations: 135.2 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.4821, allocations: 16.48 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4821, allocations: 11.44 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.4821, allocations: 0 / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of Templates: time 0.006396/0.4885, allocations: 2.284 MB / 1.338 GB, free: 5.773 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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: 9.12373932400078]