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.001292/0.001292, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001724/0.001724, allocations: 221.7 kB / 23 MB, free: 4.914 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.836 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.797/2.797, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_11_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_11_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.00213/0.00213, allocations: 67.08 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3726, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002975/0.3756, allocations: 1.513 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.377, allocations: 0.7068 MB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.377, allocations: 7.938 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3773, allocations: 127.8 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3774, allocations: 71.83 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.378, allocations: 194.4 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3782, allocations: 67.81 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.3782, allocations: 0 / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.3783, allocations: 43.88 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3784, allocations: 87.89 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3784, allocations: 4 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.3789, allocations: 239.5 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.379, allocations: 63.81 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.3791, allocations: 39.62 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3795, allocations: 275 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3795, allocations: 4 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3795, allocations: 3.984 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3795, allocations: 0 / 1.287 GB, free: 8.473 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.0007914/0.3803, allocations: 446.8 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3803, allocations: 8.031 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.3804, allocations: 24.8 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.3807, allocations: 206.7 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3807, allocations: 4.375 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3807, allocations: 4.312 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3809, allocations: 77.98 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3809, allocations: 4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3809, allocations: 3.984 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3809, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.3811, allocations: 83.94 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.3817, allocations: 332.5 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3819, allocations: 94.41 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.382, allocations: 48.89 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.3821, allocations: 27.91 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3821, allocations: 30.56 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3821, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004466/0.3825, allocations: 173.5 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.3826, allocations: 63.33 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.383, allocations: 356.5 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.383, allocations: 29.7 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3831, allocations: 140.1 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3831, allocations: 7.953 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.3832, allocations: 25.7 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3834, allocations: 338.8 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3835, allocations: 95.94 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.3837, allocations: 98.47 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.384, allocations: 212.7 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.384, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004065/0.3844, allocations: 253.3 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3845, allocations: 4 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3845, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3845, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.3846, allocations: 15.92 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3846, allocations: 0 / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.3846, allocations: 19.88 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3846, allocations: 4 kB / 1.29 GB, free: 5.137 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.000144/0.3848, allocations: 145.8 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.3848, allocations: 19.86 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3851, allocations: 142.7 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3851, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3851, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3851, allocations: 4 kB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3854, allocations: 193.2 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3854, allocations: 3.938 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.3854, allocations: 15.92 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3855, allocations: 0 / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3855, allocations: 0 / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.3858, allocations: 235.3 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3858, allocations: 27.83 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3859, allocations: 4 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.386, allocations: 7.984 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.386, allocations: 4 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.386, allocations: 0 / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002693/0.3863, allocations: 255 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3863, allocations: 0 / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003708/0.3866, allocations: 67.88 kB / 1.291 GB, free: 3.973 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.0003021/0.3869, allocations: 152.9 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3873, allocations: 155.8 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3873, allocations: 0 / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3874, allocations: 39.97 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3878, allocations: 16.59 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.3885, allocations: 413.5 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3886, allocations: 123.2 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.3887, allocations: 19.42 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3887, allocations: 0 / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.00491/0.3936, allocations: 2.477 MB / 1.295 GB, free: 0.5508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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: 11.878133932128549]