Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001865/0.001865, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002447/0.002447, allocations: 221 kB / 22.26 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7707 GB, free: 4.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002017/0.002017, allocations: 68.86 kB / 1.117 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3811, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002878/0.384, allocations: 1.5 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3856, allocations: 0.8274 MB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3857, allocations: 4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.3859, allocations: 127.8 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.3866, allocations: 191.9 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.3867, allocations: 75.31 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3869, allocations: 63.88 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.387, allocations: 11.98 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.387, allocations: 47.81 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3872, allocations: 91.83 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3872, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.3876, allocations: 259.6 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3878, allocations: 107.7 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.3879, allocations: 91.22 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3883, allocations: 358.5 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3883, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3883, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3884, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 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.0008892/0.3892, allocations: 0.5507 MB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3893, allocations: 11.97 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3893, allocations: 30.75 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.3894, allocations: 36.7 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.3903, allocations: 0.8599 MB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3903, allocations: 384 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3903, allocations: 384 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3906, allocations: 93.72 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3906, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3906, allocations: 4 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3906, allocations: 4 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3909, allocations: 99.92 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.3916, allocations: 0.5466 MB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3918, allocations: 110.5 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3919, allocations: 56.83 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.392, allocations: 23.98 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.392, allocations: 30.56 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.392, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005944/0.3926, allocations: 217.4 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3926, allocations: 55.53 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.394, allocations: 1.205 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.394, allocations: 29.69 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3942, allocations: 176.1 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3942, allocations: 3.953 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3942, allocations: 13.72 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3944, allocations: 354.7 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3946, allocations: 59.84 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3947, allocations: 51.95 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3949, allocations: 104.8 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3949, allocations: 0 / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003031/0.3952, allocations: 169.5 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3952, allocations: 8 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3952, allocations: 0 / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3952, allocations: 0 / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.3953, allocations: 7.984 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3953, allocations: 4 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.3954, allocations: 7.938 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3954, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9825 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.0001629/0.3955, allocations: 169.7 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.3956, allocations: 35.8 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.3959, allocations: 172.1 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3959, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3959, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3959, allocations: 3.938 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3963, allocations: 268.6 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3963, allocations: 0 / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.3963, allocations: 7.984 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3963, allocations: 4.031 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3964, allocations: 0 / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3964, allocations: 4 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3964, allocations: 0 / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.3967, allocations: 263.1 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3968, allocations: 55.73 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3968, allocations: 8.016 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.397, allocations: 11.98 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.397, allocations: 4 kB / 1.293 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.397, allocations: 0 / 1.293 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001026/0.398, allocations: 0.952 MB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.398, allocations: 0 / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004222/0.3984, allocations: 79.86 kB / 1.294 GB, free: 0.8125 MB / 0.9825 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.0009471/0.3994, allocations: 0.8486 MB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3997, allocations: 107.9 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3997, allocations: 96 / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3998, allocations: 55.97 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4002, allocations: 21.66 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.4082, allocations: 6.772 MB / 1.301 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.4087, allocations: 0.7831 MB / 1.302 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.4088, allocations: 46.92 kB / 1.302 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4089, allocations: 87.41 kB / 1.302 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/0.4089, allocations: 0 / 1.302 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.4457, allocations: 7.283 MB / 1.309 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.62, allocations: 4 kB / 1.309 GB, free: 0.8359 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.633722188998945]