Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001363/0.001363, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001473/0.001473, allocations: 198.4 kB / 22.17 MB, free: 5.211 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.34/1.34, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 497.2 MB / 0.7845 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.97 kB / 1.139 GB, free: 33.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.304, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002555/0.3066, allocations: 1.487 MB / 1.311 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3079, allocations: 0.7907 MB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.3079, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3081, allocations: 135.7 kB / 1.312 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.3086, allocations: 183.5 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.3088, allocations: 71.8 kB / 1.312 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.3089, allocations: 67.88 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.319e-05/0.309, allocations: 3.938 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.309, allocations: 43.88 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3092, allocations: 87.83 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3092, allocations: 4 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.3096, allocations: 243.5 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3097, allocations: 99.78 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.3098, allocations: 83.28 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.3102, allocations: 326.7 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3102, allocations: 0 / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3102, allocations: 0 / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3102, allocations: 4 kB / 1.313 GB, free: 12.32 MB / 1.014 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.0007988/0.311, allocations: 0.5794 MB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.311, allocations: 12.56 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3111, allocations: 28.75 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.3115, allocations: 374.7 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3115, allocations: 4.375 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.3115, allocations: 384 / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3117, allocations: 89.97 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3117, allocations: 0 / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3117, allocations: 4 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.3117, allocations: 0 / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.3119, allocations: 99.88 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.3125, allocations: 472.6 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3127, allocations: 110.5 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3128, allocations: 52.89 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3129, allocations: 19.98 kB / 1.315 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3129, allocations: 34.56 kB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3129, allocations: 0 / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004614/0.3134, allocations: 217.3 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3134, allocations: 51.41 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.314, allocations: 0.5289 MB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.314, allocations: 25.7 kB / 1.315 GB, free: 9.453 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3141, allocations: 164 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3141, allocations: 7.953 kB / 1.316 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3142, allocations: 45.66 kB / 1.316 GB, free: 9.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3143, allocations: 342.9 kB / 1.316 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3145, allocations: 95.88 kB / 1.316 GB, free: 8.793 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3147, allocations: 102.2 kB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.315, allocations: 176.7 kB / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.315, allocations: 0 / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004172/0.3154, allocations: 276.7 kB / 1.317 GB, free: 8.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3154, allocations: 8 kB / 1.317 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3154, allocations: 0 / 1.317 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3154, allocations: 0 / 1.317 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3156, allocations: 27.98 kB / 1.317 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3156, allocations: 0 / 1.317 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.3156, allocations: 11.92 kB / 1.317 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3156, allocations: 8 kB / 1.317 GB, free: 8.191 MB / 1.014 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.0001576/0.3158, allocations: 177.7 kB / 1.317 GB, free: 8.008 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.3159, allocations: 31.8 kB / 1.317 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.3162, allocations: 159.8 kB / 1.317 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3162, allocations: 4 kB / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3162, allocations: 0 / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3162, allocations: 3.984 kB / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3165, allocations: 281.5 kB / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3165, allocations: 0 / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.3165, allocations: 16.02 kB / 1.317 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3165, allocations: 3.938 kB / 1.317 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3165, allocations: 0 / 1.317 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3165, allocations: 4 kB / 1.317 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3165, allocations: 3.938 kB / 1.317 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3169, allocations: 263.2 kB / 1.318 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.317, allocations: 112.9 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.317, allocations: 4 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.3171, allocations: 4 kB / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3172, allocations: 3.984 kB / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3172, allocations: 0 / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004195/0.3176, allocations: 399.1 kB / 1.318 GB, free: 6.652 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 1.318 GB, free: 6.652 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003533/0.3179, allocations: 79.92 kB / 1.318 GB, free: 6.574 MB / 1.014 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.0002868/0.3182, allocations: 159.1 kB / 1.318 GB, free: 6.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3186, allocations: 155.8 kB / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3186, allocations: 0 / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3187, allocations: 55.95 kB / 1.318 GB, free: 6.203 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.319, allocations: 19.22 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.3198, allocations: 0.5394 MB / 1.319 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.3202, allocations: 0.7943 MB / 1.32 GB, free: 4.793 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.3203, allocations: 26.55 kB / 1.32 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3203, allocations: 19.44 kB / 1.32 GB, free: 4.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3203, allocations: 0 / 1.32 GB, free: 4.75 MB / 1.014 GB Notification: Performance of Templates: time 0.006308/0.3266, allocations: 2.799 MB / 1.323 GB, free: 1.949 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.13305204315111]