Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001473/0.001473, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001776/0.001776, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 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.921/2.921, allocations: 476 MB / 0.7699 GB, free: 4.758 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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_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.002137/0.002137, allocations: 65.98 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3266, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003321/0.3299, allocations: 1.514 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3314, allocations: 0.7146 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3314, allocations: 3.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3317, allocations: 127.8 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3318, allocations: 71.83 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.3326, allocations: 197.9 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3327, allocations: 55.88 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3328, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.3328, allocations: 39.88 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.333, allocations: 95.83 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.333, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.3336, allocations: 247.6 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3337, allocations: 63.83 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.3338, allocations: 43.61 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.3343, allocations: 270.5 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3343, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3343, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3343, allocations: 0 / 1.286 GB, free: 8.965 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.0008368/0.3351, allocations: 448.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3352, allocations: 12.03 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.3352, allocations: 30.75 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3353, allocations: 24.8 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3356, allocations: 210.6 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3356, allocations: 384 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3356, allocations: 8.312 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3358, allocations: 77.78 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3359, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3359, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3359, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.3361, allocations: 83.94 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.3368, allocations: 367.8 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.337, allocations: 90.45 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3371, allocations: 48.89 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.3371, allocations: 15.98 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.3372, allocations: 34.56 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3372, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004799/0.3377, allocations: 181.5 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3377, allocations: 55.34 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.3382, allocations: 356.5 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3382, allocations: 25.7 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.3383, allocations: 144 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3383, allocations: 3.953 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.3384, allocations: 33.64 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3386, allocations: 334.8 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3388, allocations: 100.1 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3389, allocations: 95.94 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.3392, allocations: 211.3 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3392, allocations: 0 / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004053/0.3396, allocations: 261.4 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3396, allocations: 4 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3397, allocations: 7.984 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3397, allocations: 0 / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3398, allocations: 11.98 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3398, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.3398, allocations: 11.89 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3398, allocations: 0 / 1.289 GB, free: 5.551 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 (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.0001314/0.34, allocations: 150.8 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.34, allocations: 19.86 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.3403, allocations: 146.7 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3403, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3403, allocations: 3.938 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3403, allocations: 0 / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3406, allocations: 216.5 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3406, allocations: 3.984 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3406, allocations: 8 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3406, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3406, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3406, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3407, allocations: 4.031 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.341, allocations: 231.3 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.341, allocations: 27.84 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3411, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.3411, allocations: 8 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3412, allocations: 7.984 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3412, allocations: 0 / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002723/0.3415, allocations: 251 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 4.031 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003597/0.3418, allocations: 67.86 kB / 1.29 GB, free: 4.352 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.0008818/0.3427, allocations: 0.8214 MB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.343, allocations: 135.9 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.343, allocations: 0 / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3431, allocations: 59.92 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3435, allocations: 16.59 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.3467, allocations: 2.726 MB / 1.294 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3469, allocations: 127.2 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.3469, allocations: 24.42 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.347, allocations: 51.42 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.347, allocations: 0 / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.381, allocations: 4.858 MB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.02, allocations: 3.938 kB / 1.299 GB, free: 11.58 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.97471997467801]