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.001783/0.001783, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002152/0.002152, allocations: 186 kB / 20.78 MB, free: 1.547 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.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.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.77/2.77, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 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.00198/0.00198, allocations: 67.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9849, allocations: 168.7 MB / 1.272 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002603/0.9875, allocations: 1.497 MB / 1.273 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.9887, allocations: 0.7995 MB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.9888, allocations: 0.9688 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.989, allocations: 125.5 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.9896, allocations: 183.8 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.9897, allocations: 73.28 kB / 1.275 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.9899, allocations: 67.39 kB / 1.275 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.99, allocations: 11.47 kB / 1.275 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.99, allocations: 37.98 kB / 1.275 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.9902, allocations: 98.58 kB / 1.275 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.9902, allocations: 2.812 kB / 1.275 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.9906, allocations: 235.4 kB / 1.275 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.9907, allocations: 106.7 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.9908, allocations: 80.27 kB / 1.275 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.9912, allocations: 323.2 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9913, allocations: 0 / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9913, allocations: 1.031 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.9913, allocations: 0 / 1.275 GB, free: 6.184 MB / 0.9981 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.0007415/0.992, allocations: 0.5766 MB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9921, allocations: 13.84 kB / 1.276 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.9921, allocations: 37.7 kB / 1.276 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.9925, allocations: 377.1 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.9925, allocations: 8.984 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.9925, allocations: 5.312 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.9928, allocations: 89.66 kB / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9928, allocations: 1.188 kB / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.9928, allocations: 0 / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9928, allocations: 0 / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.993, allocations: 103.1 kB / 1.277 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.9937, allocations: 460.7 kB / 1.277 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.9939, allocations: 102.4 kB / 1.277 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.994, allocations: 58.66 kB / 1.277 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.915e-05/0.9941, allocations: 29.12 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.9941, allocations: 31.5 kB / 1.277 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9941, allocations: 0 / 1.277 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004987/0.9946, allocations: 209 kB / 1.278 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.9946, allocations: 52.31 kB / 1.278 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.9953, allocations: 0.5305 MB / 1.278 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.9953, allocations: 33.09 kB / 1.278 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.9954, allocations: 159.7 kB / 1.278 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.9954, allocations: 11.41 kB / 1.278 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.9955, allocations: 39.86 kB / 1.278 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.9956, allocations: 344.6 kB / 1.279 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.9957, allocations: 92.86 kB / 1.279 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.9959, allocations: 96.78 kB / 1.279 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.9963, allocations: 182.3 kB / 1.279 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9963, allocations: 0.6562 kB / 1.279 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004675/0.9967, allocations: 273.5 kB / 1.279 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9968, allocations: 5.969 kB / 1.279 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.9968, allocations: 0 / 1.279 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9968, allocations: 1.453 kB / 1.279 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.9969, allocations: 37.94 kB / 1.279 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.9969, allocations: 1.656 kB / 1.279 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.997, allocations: 6.125 kB / 1.279 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.997, allocations: 7.859 kB / 1.279 GB, free: 3.82 MB / 0.9981 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.0001283/0.9972, allocations: 167.6 kB / 1.279 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.9972, allocations: 29.05 kB / 1.279 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.9975, allocations: 170.3 kB / 1.28 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9975, allocations: 6.062 kB / 1.28 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9975, allocations: 0 / 1.28 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9975, allocations: 0 / 1.28 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.9978, allocations: 282.4 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9978, allocations: 0 / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.9978, allocations: 9.984 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9978, allocations: 0 / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.9978, allocations: 3.812 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9978, allocations: 0.6562 kB / 1.28 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9978, allocations: 4.031 kB / 1.28 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.9981, allocations: 257.3 kB / 1.28 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.9982, allocations: 119.5 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.9982, allocations: 0.6094 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.9983, allocations: 7.219 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.9983, allocations: 9.516 kB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.9983, allocations: 2.781 kB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003696/0.9987, allocations: 395.4 kB / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9987, allocations: 0 / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004475/0.9991, allocations: 82.66 kB / 1.281 GB, free: 2.934 MB / 0.9981 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.0002893/0.9994, allocations: 150.4 kB / 1.281 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.9998, allocations: 162.7 kB / 1.281 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9998, allocations: 4 kB / 1.281 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.9999, allocations: 52.97 kB / 1.281 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/1, allocations: 25.69 kB / 1.281 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/1.001, allocations: 0.5386 MB / 1.282 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/1.001, allocations: 0.7791 MB / 1.282 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.075e-05/1.001, allocations: 33.16 kB / 1.282 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/1.001, allocations: 16.72 kB / 1.282 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.001, allocations: 0 / 1.282 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.006987/1.008, allocations: 2.805 MB / 1.285 GB, free: 1.57 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.04093665163964]