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.001372/0.001372, allocations: 102.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.00153/0.00153, 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.28/3.28, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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.002106/0.002106, allocations: 67.94 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002989/0.3529, allocations: 1.513 MB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3544, allocations: 0.7712 MB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3544, allocations: 7.938 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.3547, allocations: 135.7 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3548, allocations: 71.83 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.3555, allocations: 175.9 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.3556, allocations: 71.73 kB / 1.324 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.3556, allocations: 11.94 kB / 1.324 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.3557, allocations: 43.88 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3558, allocations: 83.89 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3558, allocations: 4 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.3562, allocations: 235.6 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.3563, allocations: 55.83 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.3564, allocations: 55.48 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.3568, allocations: 275 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3568, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3568, allocations: 4 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3568, allocations: 0 / 1.324 GB, free: 15.81 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.000759/0.3575, allocations: 0.5135 MB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3576, allocations: 15.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.3576, allocations: 30.75 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3577, allocations: 20.8 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.358, allocations: 263.8 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.358, allocations: 8.359 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.358, allocations: 384 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3583, allocations: 85.73 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3583, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3583, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3583, allocations: 7.969 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.3585, allocations: 83.94 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.3592, allocations: 388.8 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3594, allocations: 94.52 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3595, allocations: 56.77 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.3595, allocations: 19.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3596, allocations: 30.56 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3596, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004624/0.36, allocations: 181.5 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3601, allocations: 51.41 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.3604, allocations: 359.2 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3605, allocations: 25.7 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3606, allocations: 136.1 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.3606, allocations: 3.953 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.3606, allocations: 33.81 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3608, allocations: 342.8 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.361, allocations: 99.83 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3612, allocations: 95.94 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3615, allocations: 204 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3615, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004199/0.3619, allocations: 257.4 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3619, allocations: 8 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3619, allocations: 0 / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3619, allocations: 0 / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.362, allocations: 7.984 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3621, allocations: 7.984 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.3621, allocations: 15.84 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3621, allocations: 3.938 kB / 1.328 GB, free: 12.18 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.0001313/0.3623, allocations: 149.7 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3623, allocations: 19.86 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3626, allocations: 146.6 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3626, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3626, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3626, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3629, allocations: 241.5 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3629, allocations: 8.031 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.3629, allocations: 7.984 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3629, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3629, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.363, allocations: 8 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.363, allocations: 3.938 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.3633, allocations: 235.2 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.3634, allocations: 101 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3634, allocations: 4 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.3635, allocations: 7.984 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3635, allocations: 4 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.3635, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002585/0.3638, allocations: 253.9 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 0 / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003661/0.3641, allocations: 63.88 kB / 1.329 GB, free: 10.85 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.0008494/0.365, allocations: 0.8293 MB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3653, allocations: 143.9 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3653, allocations: 0 / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3654, allocations: 43.97 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3658, allocations: 20.53 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.3689, allocations: 2.735 MB / 1.332 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3693, allocations: 0.7353 MB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.3693, allocations: 16.55 kB / 1.333 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.3694, allocations: 51.42 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3694, allocations: 4 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.3962, allocations: 4.306 MB / 1.337 GB, free: 1.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.962, allocations: 8.062 kB / 1.337 GB, free: 1.957 MB / 1.029 GB " [Timeout remaining time 291] (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: 16.025538539979607]