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.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.001661/0.001661, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002083/0.002083, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.248/3.248, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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: 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.002147/0.002147, allocations: 66.56 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.378, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002927/0.3809, allocations: 1.503 MB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3825, allocations: 0.8297 MB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.3826, allocations: 4 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3828, allocations: 127.7 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006452/0.3835, allocations: 188.3 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3837, allocations: 79.73 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3838, allocations: 67.8 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.3839, allocations: 4 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.3839, allocations: 43.88 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3841, allocations: 91.83 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3841, allocations: 4 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.3846, allocations: 259.6 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3847, allocations: 107.7 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.3848, allocations: 79.28 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.3853, allocations: 322.8 kB / 1.358 GB, free: 4.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3853, allocations: 0 / 1.358 GB, free: 4.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3853, allocations: 3.938 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3853, allocations: 0 / 1.358 GB, free: 4.27 MB / 1.045 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.0008474/0.3862, allocations: 0.5061 MB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3862, allocations: 15.97 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.3862, allocations: 32.75 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.3867, allocations: 324.8 kB / 1.359 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3867, allocations: 384 / 1.359 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3867, allocations: 4.375 kB / 1.359 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3869, allocations: 85.97 kB / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3869, allocations: 0 / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3869, allocations: 0 / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3869, allocations: 0 / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.3872, allocations: 107.9 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.3879, allocations: 435.8 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.388, allocations: 106.5 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3882, allocations: 52.89 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3883, allocations: 23.98 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3883, allocations: 34.55 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3883, allocations: 0 / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004797/0.3888, allocations: 209.4 kB / 1.36 GB, free: 2.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3888, allocations: 51.41 kB / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.3895, allocations: 0.5445 MB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3895, allocations: 25.7 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3897, allocations: 152.1 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3897, allocations: 11.95 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.3897, allocations: 37.66 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3899, allocations: 354.7 kB / 1.361 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3901, allocations: 87.94 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3902, allocations: 106.5 kB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.3905, allocations: 180.7 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3905, allocations: 0 / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000444/0.391, allocations: 265.3 kB / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.391, allocations: 8 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.391, allocations: 0 / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.391, allocations: 8 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3912, allocations: 27.98 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3912, allocations: 4 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.3913, allocations: 11.92 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3913, allocations: 0 / 1.361 GB, free: 340 kB / 1.045 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.0001763/0.3914, allocations: 174.3 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.3915, allocations: 35.77 kB / 1.362 GB, free: 120 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.3918, allocations: 167.9 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3918, allocations: 0 / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3918, allocations: 0 / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3918, allocations: 4 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3921, allocations: 244.6 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3921, allocations: 0 / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.3922, allocations: 11.98 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3922, allocations: 0 / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.3922, allocations: 0 / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3922, allocations: 32 / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3922, allocations: 11.94 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.3925, allocations: 255.8 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/0.3926, allocations: 35.8 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3927, allocations: 4 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.3927, allocations: 7.984 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3928, allocations: 4.031 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.3928, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004653/0.3932, allocations: 403 kB / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3932, allocations: 0 / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003932/0.3936, allocations: 75.94 kB / 1.363 GB, free: 14.86 MB / 1.061 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.0003005/0.3939, allocations: 154.1 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.3943, allocations: 169.3 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3943, allocations: 0 / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3944, allocations: 51.97 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3947, allocations: 21.44 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.3955, allocations: 0.5295 MB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.396, allocations: 0.771 MB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.396, allocations: 15.44 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.396, allocations: 0 / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of Templates: time 0.006088/0.4021, allocations: 3.367 MB / 1.368 GB, free: 9.734 MB / 1.061 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 -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/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: 11.458268279995536]