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.001397/0.001397, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001506/0.001506, allocations: 216.1 kB / 23 MB, free: 4.969 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002056/0.002056, allocations: 69.73 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003552/0.38, allocations: 1.51 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3816, allocations: 0.709 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.3817, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3819, allocations: 135.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3821, allocations: 79.83 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.3828, allocations: 179.5 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.383, allocations: 67.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.383, allocations: 4 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.3831, allocations: 43.88 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3832, allocations: 87.83 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3833, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.3837, allocations: 251.6 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3838, allocations: 59.83 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.3839, allocations: 43.61 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.3843, allocations: 282.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3843, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3843, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.3844, 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.000831/0.3852, allocations: 444.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3852, allocations: 12.02 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.3853, allocations: 24.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3856, allocations: 210.6 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3856, allocations: 384 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3856, allocations: 4.375 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3859, allocations: 77.97 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3859, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3859, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3859, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.3861, allocations: 95.86 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.3867, allocations: 332.5 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3869, allocations: 94.45 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.387, allocations: 48.89 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.3871, allocations: 15.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3871, allocations: 38.5 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3871, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004891/0.3876, allocations: 177.5 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3877, allocations: 51.41 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3881, allocations: 360.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3881, allocations: 25.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3882, allocations: 136.1 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.3882, allocations: 7.953 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.3883, allocations: 29.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3885, allocations: 334.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3886, allocations: 100.1 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3888, allocations: 95.94 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3891, allocations: 214.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3891, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004186/0.3895, allocations: 257.3 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3896, allocations: 8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3896, allocations: 4 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3896, allocations: 0 / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3897, allocations: 11.98 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3897, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.3898, allocations: 15.89 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3898, allocations: 0 / 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.0001287/0.3899, allocations: 141.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.3899, allocations: 31.75 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.3903, allocations: 150.6 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3903, allocations: 0 / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3903, allocations: 0 / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3903, allocations: 23.86 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3904, allocations: 4 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.3904, allocations: 7.984 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3905, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000323/0.3908, allocations: 212.8 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003913/0.3912, allocations: 306.6 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001125/0.3913, allocations: 39.97 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002806/0.3916, allocations: 251 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of Backend: time 8.01e-07/0.3916, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008669/0.3925, allocations: 234.2 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of SimCode: time 0.001081/0.3935, allocations: 0.8059 MB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of Templates: time 0.006838/0.4004, allocations: 2.485 MB / 1.338 GB, free: 5.418 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 -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.516288913997414]