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.002179/0.002179, allocations: 119 kB / 17.17 MB, free: 5.906 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.002689/0.002689, allocations: 211 kB / 20.13 MB, free: 2.969 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.939/2.939, allocations: 476.7 MB / 0.7678 GB, free: 9.301 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="cs",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.002142/0.002142, allocations: 67.91 kB / 1.113 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003506/1.029, allocations: 1.521 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00161/1.031, allocations: 0.7843 MB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/1.031, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002503/1.031, allocations: 132 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/1.031, allocations: 72.72 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/1.032, allocations: 188.2 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000199/1.032, allocations: 63.83 kB / 1.282 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/1.032, allocations: 6.562 kB / 1.282 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/1.032, allocations: 35.64 kB / 1.282 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/1.033, allocations: 89.69 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/1.033, allocations: 2.125 kB / 1.282 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/1.033, allocations: 236.1 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/1.033, allocations: 68.56 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/1.033, allocations: 54.75 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004233/1.034, allocations: 274.7 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.034, allocations: 0 / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.444e-06/1.034, allocations: 0.6094 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.034, allocations: 1.094 kB / 1.282 GB, free: 9.789 MB / 0.9981 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.0007575/1.034, allocations: 0.5119 MB / 1.283 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.034, allocations: 9.469 kB / 1.283 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/1.034, allocations: 4.188 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/1.035, allocations: 36 kB / 1.283 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/1.035, allocations: 25.77 kB / 1.283 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/1.035, allocations: 255.4 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/1.035, allocations: 1.75 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/1.035, allocations: 1.719 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/1.035, allocations: 79.39 kB / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.035, allocations: 0 / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/1.035, allocations: 0 / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/1.035, allocations: 1.375 kB / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/1.035, allocations: 89.31 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/1.036, allocations: 403.2 kB / 1.284 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/1.036, allocations: 89.72 kB / 1.284 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.036, allocations: 49.62 kB / 1.284 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.157e-05/1.036, allocations: 21.72 kB / 1.284 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.036, allocations: 31.08 kB / 1.284 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.036, allocations: 0 / 1.284 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004851/1.037, allocations: 185.9 kB / 1.284 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.037, allocations: 53.23 kB / 1.284 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/1.037, allocations: 352 kB / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/1.037, allocations: 27.08 kB / 1.285 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.037, allocations: 143 kB / 1.285 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/1.037, allocations: 8.406 kB / 1.285 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/1.037, allocations: 27.56 kB / 1.285 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.038, allocations: 338.1 kB / 1.285 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.038, allocations: 93.84 kB / 1.285 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/1.038, allocations: 98.89 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/1.038, allocations: 205.7 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.038, allocations: 0 / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004039/1.039, allocations: 257.7 kB / 1.286 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.039, allocations: 8.344 kB / 1.286 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.039, allocations: 0 / 1.286 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.039, allocations: 1.844 kB / 1.286 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/1.039, allocations: 12.11 kB / 1.286 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.039, allocations: 1.406 kB / 1.286 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/1.039, allocations: 15.81 kB / 1.286 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.039, allocations: 1.156 kB / 1.286 GB, free: 7.652 MB / 0.9981 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.0001272/1.039, allocations: 148.2 kB / 1.286 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/1.039, allocations: 23.78 kB / 1.286 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/1.039, allocations: 154.6 kB / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.039, allocations: 1.031 kB / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.039, allocations: 0 / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.039, allocations: 1.703 kB / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/1.04, allocations: 246.1 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.04, allocations: 1.859 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/1.04, allocations: 7.531 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.04, allocations: 1.672 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/1.04, allocations: 0 / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.04, allocations: 1.906 kB / 1.286 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.04, allocations: 4.031 kB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/1.04, allocations: 230.8 kB / 1.286 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/1.04, allocations: 103.6 kB / 1.287 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/1.04, allocations: 0 / 1.287 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/1.04, allocations: 18.08 kB / 1.287 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/1.04, allocations: 10.75 kB / 1.287 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.04, allocations: 1.188 kB / 1.287 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00028/1.041, allocations: 250.3 kB / 1.287 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 1.287 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004408/1.041, allocations: 62.42 kB / 1.287 GB, free: 6.844 MB / 0.9981 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.000913/1.042, allocations: 0.8255 MB / 1.288 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003538/1.042, allocations: 144.1 kB / 1.288 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.042, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/1.042, allocations: 49.62 kB / 1.288 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/1.043, allocations: 16.59 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/1.046, allocations: 2.734 MB / 1.291 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/1.047, allocations: 0.7363 MB / 1.291 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.693e-05/1.047, allocations: 15.36 kB / 1.291 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/1.047, allocations: 53.94 kB / 1.291 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.047, allocations: 0 / 1.291 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/1.071, allocations: 4.365 MB / 1.296 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/9.88, allocations: 6.25 kB / 1.296 GB, free: 3.273 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 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.mat","/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: 16.389853105996735]