Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001351/0.001351, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001543/0.001543, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_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.00205/0.00205, allocations: 67.34 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002763/0.3701, allocations: 1.524 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3716, allocations: 0.7946 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3716, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.3719, allocations: 127.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.372, allocations: 75.83 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.3727, allocations: 192.9 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3728, allocations: 63.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.3729, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.373, allocations: 43.88 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3731, allocations: 87.89 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3731, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.3736, allocations: 259.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3737, allocations: 63.81 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.3738, allocations: 59.48 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.3742, allocations: 271 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3742, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3742, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3742, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 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.0007998/0.375, allocations: 452.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3751, allocations: 8.031 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.3751, allocations: 38.69 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3752, allocations: 24.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3754, allocations: 206.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3755, allocations: 4.375 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3755, allocations: 4.359 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3757, allocations: 77.78 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3757, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3757, allocations: 8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3757, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3759, allocations: 87.92 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.3765, allocations: 363.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3767, allocations: 94.52 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3768, allocations: 48.83 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/0.3769, allocations: 19.98 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3769, allocations: 30.56 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3769, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004605/0.3774, allocations: 185.5 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3774, allocations: 51.41 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.3778, allocations: 360.4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3778, allocations: 25.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3779, allocations: 136.1 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.378, allocations: 3.953 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.378, allocations: 29.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3782, allocations: 342.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3783, allocations: 99.97 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3785, allocations: 95.94 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3788, allocations: 202.3 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3788, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003724/0.3791, allocations: 253.3 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3792, allocations: 12 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3792, allocations: 3.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3792, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3793, allocations: 7.984 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3793, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.3794, allocations: 19.83 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3794, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 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.0001271/0.3795, allocations: 150.3 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3795, allocations: 23.86 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.3798, allocations: 146.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3798, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3798, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3798, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3801, allocations: 216.6 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3801, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.3801, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3801, allocations: 4.031 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3801, allocations: 7.984 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3801, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3801, allocations: 3.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3805, allocations: 235.3 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3805, allocations: 23.86 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3806, allocations: 4.031 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.3807, allocations: 7.984 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3807, allocations: 3.938 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3807, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002556/0.381, allocations: 255 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.381, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003856/0.3813, allocations: 67.88 kB / 1.334 GB, free: 9.707 MB / 1.029 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.0008137/0.3822, allocations: 0.8176 MB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.3825, allocations: 147.8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3825, allocations: 0 / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3826, allocations: 48 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3829, allocations: 16.59 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.3863, allocations: 2.726 MB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3867, allocations: 0.7401 MB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.3867, allocations: 12.48 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.3868, allocations: 51.42 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3868, allocations: 0 / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.4188, allocations: 4.409 MB / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.48, allocations: 7.953 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.58058973700099]