Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001222/0.001222, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001426/0.001426, allocations: 219 kB / 23.03 MB, free: 4.945 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.927/2.927, allocations: 476.8 MB / 0.7715 GB, free: 3.922 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.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002065/0.002065, allocations: 60.88 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4064, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002063/0.4084, allocations: 0.6168 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.4108, allocations: 1.425 MB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.4108, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.692e-05/0.4108, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.4109, allocations: 15.92 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.4117, allocations: 216.7 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.4118, allocations: 43.84 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.4118, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.4119, allocations: 15.98 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.4119, allocations: 23.91 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.4119, allocations: 8 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.4124, allocations: 275.6 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.4125, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.4125, allocations: 27.84 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.4128, allocations: 211.4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4129, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4129, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4129, allocations: 0 / 1.287 GB, free: 7.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00066/0.4135, allocations: 327.6 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.4136, allocations: 12.02 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.255e-05/0.4136, allocations: 192 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.4136, allocations: 42.69 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.4137, allocations: 0.9375 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4138, allocations: 118.4 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4138, allocations: 4.375 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4138, allocations: 384 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.414, allocations: 107.2 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4141, allocations: 3.984 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4141, allocations: 4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4141, allocations: 4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.4142, allocations: 69.67 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.4143, allocations: 132.7 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4145, allocations: 88.25 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.4146, allocations: 74.56 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4146, allocations: 3.938 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4146, allocations: 34.5 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4146, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.4151, allocations: 258.6 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4151, allocations: 81.11 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.4152, allocations: 109.8 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4152, allocations: 29.7 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.4153, allocations: 84.14 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4153, allocations: 27.81 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.4154, allocations: 21.72 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4155, allocations: 318.8 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.4156, allocations: 65.67 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.212e-05/0.4157, allocations: 65.67 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4158, allocations: 156.1 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4158, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002427/0.4161, allocations: 193.1 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.4161, allocations: 44.03 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4161, allocations: 0 / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4162, allocations: 4.062 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4162, allocations: 0 / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4162, allocations: 0 / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4163, allocations: 11.98 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4163, allocations: 4 kB / 1.289 GB, free: 5.051 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001251/0.4164, allocations: 152.8 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.4165, allocations: 11.89 kB / 1.289 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.4165, allocations: 12.36 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4165, allocations: 0 / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4165, allocations: 0 / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4165, allocations: 0 / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.4166, allocations: 132.8 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.4166, allocations: 7.875 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.4166, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4166, allocations: 4 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4166, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.4166, allocations: 3.984 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4166, allocations: 4 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.4169, allocations: 228.4 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.4169, allocations: 7.875 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4169, allocations: 4 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.417, allocations: 7.984 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.417, allocations: 12.03 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.417, allocations: 4 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.4171, allocations: 91.89 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4171, allocations: 0 / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003433/0.4174, allocations: 75.92 kB / 1.29 GB, free: 4.219 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008245/0.4182, allocations: 0.8266 MB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.4186, allocations: 222.7 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4186, allocations: 0 / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4187, allocations: 153.1 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.4189, allocations: 6.062 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.4195, allocations: 271.9 kB / 1.291 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.4196, allocations: 67.28 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.374e-06/0.4196, allocations: 7.938 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.4196, allocations: 19.42 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.4196, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.446, allocations: 3.303 MB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.93, allocations: 9.109 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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: 19.189973594038747]