Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001759/0.001759, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002064/0.002064, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.426/3.426, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",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.002077/0.002077, allocations: 74.03 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 180.2 MB / 1.348 GB, free: 9.891 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003213/0.3527, allocations: 1.512 MB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.354, allocations: 0.7828 MB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.3541, allocations: 4 kB / 1.35 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.3543, allocations: 131.8 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3544, allocations: 67.83 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.355, allocations: 185.9 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3552, allocations: 59.81 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.3552, allocations: 11.94 kB / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.3553, allocations: 39.94 kB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3554, allocations: 87.83 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3554, allocations: 4 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.3558, allocations: 239.6 kB / 1.351 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.356, allocations: 59.83 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.356, allocations: 55.48 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.3564, allocations: 271 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3564, allocations: 4 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3564, allocations: 0 / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3565, allocations: 4 kB / 1.351 GB, free: 6.383 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.0007974/0.3573, allocations: 0.5096 MB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3573, allocations: 11.98 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3573, allocations: 30.75 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3574, allocations: 24.73 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3577, allocations: 271.8 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3577, allocations: 384 / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3577, allocations: 384 / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3579, allocations: 85.78 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3579, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.358, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.358, allocations: 0 / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3582, allocations: 87.88 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.3588, allocations: 400.7 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.359, allocations: 94.53 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3591, allocations: 44.89 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3591, allocations: 15.98 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3592, allocations: 30.56 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3592, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004725/0.3596, allocations: 185.4 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3597, allocations: 55.41 kB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.3601, allocations: 355.2 kB / 1.353 GB, free: 4.008 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3601, allocations: 29.64 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3602, allocations: 136.1 kB / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3602, allocations: 7.938 kB / 1.353 GB, free: 3.828 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.3602, allocations: 33.83 kB / 1.354 GB, free: 3.789 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3604, allocations: 342.8 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3606, allocations: 91.95 kB / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3607, allocations: 95.94 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.361, allocations: 207 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3611, allocations: 0 / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003995/0.3615, allocations: 257.3 kB / 1.354 GB, free: 2.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3615, allocations: 10.03 kB / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3615, allocations: 0 / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3615, allocations: 0 / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3616, allocations: 11.98 kB / 1.354 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3616, allocations: 0 / 1.354 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3617, allocations: 15.84 kB / 1.355 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3617, allocations: 3.984 kB / 1.355 GB, free: 2.762 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001298/0.3618, allocations: 149.8 kB / 1.355 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.3619, allocations: 23.86 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3622, allocations: 142.5 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3622, allocations: 0 / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3622, allocations: 96 / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3622, allocations: 3.984 kB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.3625, allocations: 245.5 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3625, allocations: 4.031 kB / 1.355 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.3626, allocations: 7.984 kB / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3626, allocations: 0 / 1.355 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3626, allocations: 4 kB / 1.355 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3626, allocations: 3.984 kB / 1.355 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3626, allocations: 0 / 1.355 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.3629, allocations: 239.3 kB / 1.355 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.363, allocations: 96.97 kB / 1.355 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.363, allocations: 7.938 kB / 1.355 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.3631, allocations: 11.98 kB / 1.355 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.3632, allocations: 0 / 1.355 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3632, allocations: 3.938 kB / 1.355 GB, free: 1.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002789/0.3634, allocations: 257.8 kB / 1.356 GB, free: 1.484 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3634, allocations: 0 / 1.356 GB, free: 1.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003971/0.3638, allocations: 67.88 kB / 1.356 GB, free: 1.418 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.0009361/0.3648, allocations: 0.8221 MB / 1.357 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3651, allocations: 147.9 kB / 1.357 GB, free: 436 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3651, allocations: 3.938 kB / 1.357 GB, free: 432 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3653, allocations: 39.97 kB / 1.357 GB, free: 392 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3656, allocations: 12.66 kB / 1.357 GB, free: 380 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.3691, allocations: 2.734 MB / 1.359 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3695, allocations: 0.7353 MB / 1.36 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.3696, allocations: 16.55 kB / 1.36 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.3696, allocations: 51.41 kB / 1.36 GB, free: 12.73 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/0.3696, allocations: 4 kB / 1.36 GB, free: 12.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3986, allocations: 4.304 MB / 1.364 GB, free: 8.551 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/8.912, allocations: 11.69 kB / 1.364 GB, free: 8.539 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 16.05785079812631]