Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 193 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.8864, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00302/0.8894, allocations: 1.481 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.8908, allocations: 0.8001 MB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.8909, allocations: 0 / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.8911, allocations: 131.7 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.8917, allocations: 179.6 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.8919, allocations: 71.73 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.892, allocations: 67.86 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.009e-05/0.8921, allocations: 10.66 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.8922, allocations: 39.89 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.8923, allocations: 95.81 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.8923, allocations: 7.938 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.8927, allocations: 239.6 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.8929, allocations: 95.78 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.8929, allocations: 87.22 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.8934, allocations: 314.8 kB / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8934, allocations: 0 / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8934, allocations: 4 kB / 1.278 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8934, allocations: 0 / 1.278 GB, free: 0.957 MB / 0.9669 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.0008362/0.8942, allocations: 0.5833 MB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8942, allocations: 12.03 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.8943, allocations: 32.7 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.8948, allocations: 386.6 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8948, allocations: 384 / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.8948, allocations: 4.375 kB / 1.279 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.895, allocations: 85.97 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.895, allocations: 0 / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.895, allocations: 0 / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.895, allocations: 11.92 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.8952, allocations: 103.9 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.8958, allocations: 456.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.896, allocations: 110.5 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.8962, allocations: 52.89 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.8962, allocations: 23.98 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.8962, allocations: 30.56 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8962, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004929/0.8967, allocations: 213.3 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.8968, allocations: 59.53 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.8974, allocations: 0.5366 MB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8974, allocations: 25.7 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.8975, allocations: 156.1 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.8975, allocations: 11.89 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.8976, allocations: 37.7 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.8977, allocations: 346.8 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.8979, allocations: 95.94 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.8981, allocations: 94.61 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.8984, allocations: 176.7 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8984, allocations: 0 / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004283/0.8988, allocations: 273.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8988, allocations: 8 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8988, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8988, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.899, allocations: 23.98 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.899, allocations: 4 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.8991, allocations: 15.94 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.8991, allocations: 0 / 1.281 GB, free: 12.82 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.00016/0.8993, allocations: 173.7 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.8993, allocations: 31.81 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.8996, allocations: 167.8 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8996, allocations: 0 / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8996, allocations: 0 / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8996, allocations: 7.938 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.8999, allocations: 273.5 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8999, allocations: 0 / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.9, allocations: 15.92 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.9, allocations: 4.031 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.9, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9, allocations: 0 / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.9004, allocations: 267.2 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.9005, allocations: 112.9 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.9005, allocations: 0 / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.9006, allocations: 12.02 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.9007, allocations: 4 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.9007, allocations: 0 / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004201/0.9011, allocations: 403 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9011, allocations: 0 / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003808/0.9015, allocations: 79.88 kB / 1.283 GB, free: 11.2 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.0003105/0.9018, allocations: 151 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.9021, allocations: 174.2 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9021, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.9022, allocations: 47.97 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.9026, allocations: 23.06 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.9034, allocations: 0.5433 MB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.9038, allocations: 0.7749 MB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.9039, allocations: 34.53 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.9039, allocations: 19.44 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9039, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of Templates: time 0.007032/0.911, allocations: 2.803 MB / 1.287 GB, free: 6.586 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 8.881744504906237]