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.001782/0.001782, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002338/0.002338, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.501/3.501, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) [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.002065/0.002065, allocations: 65.58 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003197/0.3806, allocations: 1.475 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3821, allocations: 0.7558 MB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.3822, allocations: 0 / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3824, allocations: 131.7 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.3831, allocations: 191.5 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3834, allocations: 80.02 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.3835, allocations: 63.86 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.3836, allocations: 4 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.3837, allocations: 47.88 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3838, allocations: 95.77 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3838, allocations: 7.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.3843, allocations: 251.6 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.3845, allocations: 111.7 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.3846, allocations: 67.41 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.3851, allocations: 346.6 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3852, allocations: 3.938 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3852, allocations: 4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.3852, allocations: 0 / 1.349 GB, free: 12.29 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.000964/0.3861, allocations: 0.5585 MB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3862, allocations: 12.03 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.331e-05/0.3862, allocations: 192 / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.3862, allocations: 38.75 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.3863, allocations: 36.7 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.3873, allocations: 0.8599 MB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3873, allocations: 384 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3873, allocations: 384 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.3875, allocations: 85.59 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3875, allocations: 0 / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3875, allocations: 4 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3875, allocations: 4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.3878, allocations: 103.9 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.3885, allocations: 0.5388 MB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.3887, allocations: 102.5 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3889, allocations: 56.88 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.3889, allocations: 31.73 kB / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3889, allocations: 30.56 kB / 1.351 GB, free: 9.703 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.3889, allocations: 4 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000482/0.3894, allocations: 205.4 kB / 1.351 GB, free: 9.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.3895, allocations: 55.39 kB / 1.351 GB, free: 9.426 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3907, allocations: 1.212 MB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3907, allocations: 25.7 kB / 1.353 GB, free: 8.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3909, allocations: 184.1 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3909, allocations: 11.95 kB / 1.353 GB, free: 7.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3909, allocations: 9.719 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3911, allocations: 354.7 kB / 1.353 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3912, allocations: 47.97 kB / 1.353 GB, free: 7.559 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3913, allocations: 47.97 kB / 1.353 GB, free: 7.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3916, allocations: 116.7 kB / 1.353 GB, free: 7.395 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3916, allocations: 4.062 kB / 1.353 GB, free: 7.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003039/0.3919, allocations: 153.5 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3919, allocations: 6.344 kB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3919, allocations: 4 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3919, allocations: 0 / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.392, allocations: 11.92 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.392, allocations: 3.984 kB / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.3921, allocations: 11.98 kB / 1.354 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3921, allocations: 4.031 kB / 1.354 GB, free: 7.195 MB / 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 (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 prepare postOptimizeDAE: time 0.0001662/0.3923, allocations: 169.7 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.3923, allocations: 35.75 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3927, allocations: 176.1 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3927, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3927, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3927, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.393, allocations: 252.6 kB / 1.354 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.393, allocations: 8.031 kB / 1.354 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.3931, allocations: 11.98 kB / 1.354 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3931, allocations: 4 kB / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3931, allocations: 0 / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3931, allocations: 4 kB / 1.354 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3931, allocations: 0 / 1.354 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.3935, allocations: 263.1 kB / 1.354 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.3936, allocations: 55.73 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3936, allocations: 4.031 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3938, allocations: 7.984 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3938, allocations: 4 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3938, allocations: 0 / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001144/0.3949, allocations: 0.952 MB / 1.355 GB, free: 5.195 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3949, allocations: 3.938 kB / 1.355 GB, free: 5.191 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000507/0.3955, allocations: 75.86 kB / 1.356 GB, free: 5.117 MB / 1.045 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.001184/0.3966, allocations: 0.8526 MB / 1.356 GB, free: 4.238 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.397, allocations: 103.9 kB / 1.356 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.397, allocations: 0 / 1.356 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3971, allocations: 51.97 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3975, allocations: 21.66 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.4058, allocations: 6.782 MB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.406, allocations: 170.1 kB / 1.363 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.4061, allocations: 34.95 kB / 1.363 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4063, allocations: 99.33 kB / 1.363 GB, free: 12.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.653e-06/0.4063, allocations: 0 / 1.363 GB, free: 12.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.4375, allocations: 7.448 MB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.17, allocations: 3.312 kB / 1.371 GB, free: 5.652 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] 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: 19.621306240092963]