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.002174/0.002174, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002809/0.002809, allocations: 206.2 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.615/1.615, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.48 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.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.002108/0.002108, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00207/1.059, allocations: 0.6118 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002637/1.062, allocations: 1.507 MB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/1.062, allocations: 0.9375 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.519e-05/1.062, allocations: 0.7969 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/1.062, allocations: 6.891 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/1.063, allocations: 206 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/1.063, allocations: 37.88 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/1.063, allocations: 2.625 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.916e-05/1.063, allocations: 18.06 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/1.063, allocations: 27.7 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/1.063, allocations: 2.312 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/1.064, allocations: 252.6 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/1.064, allocations: 9 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/1.064, allocations: 18.53 kB / 1.282 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/1.065, allocations: 221.6 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.065, allocations: 0 / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.065, allocations: 1.25 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.065, allocations: 0 / 1.282 GB, free: 10.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006199/1.065, allocations: 404.7 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.065, allocations: 10.33 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.662e-05/1.065, allocations: 5.594 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/1.065, allocations: 36.95 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/1.065, allocations: 3.844 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/1.066, allocations: 184.3 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.066, allocations: 1.656 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.066, allocations: 3.125 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/1.066, allocations: 79.09 kB / 1.283 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.066, allocations: 0 / 1.283 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.066, allocations: 1.25 kB / 1.283 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.066, allocations: 5.375 kB / 1.283 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/1.066, allocations: 35.94 kB / 1.283 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/1.066, allocations: 159.3 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.066, allocations: 52.47 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/1.066, allocations: 40.72 kB / 1.283 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/1.066, allocations: 7.875 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.066, allocations: 32.34 kB / 1.283 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/1.066, allocations: 5.031 kB / 1.283 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/1.067, allocations: 184.9 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/1.067, allocations: 84.67 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.067, allocations: 112.4 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/1.067, allocations: 29.64 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/1.067, allocations: 88.03 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/1.067, allocations: 20.69 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/1.067, allocations: 23.52 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.067, allocations: 318 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/1.067, allocations: 36.92 kB / 1.284 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/1.067, allocations: 39.88 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/1.068, allocations: 140.9 kB / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.068, allocations: 0 / 1.284 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002352/1.068, allocations: 163.8 kB / 1.284 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/1.068, allocations: 36.95 kB / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.068, allocations: 0 / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.068, allocations: 0 / 1.284 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/1.068, allocations: 5.766 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.068, allocations: 0 / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/1.068, allocations: 7.922 kB / 1.284 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/1.068, allocations: 5.5 kB / 1.284 GB, free: 8.066 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 (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.0001337/1.068, allocations: 149.5 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.068, allocations: 16.42 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/1.068, allocations: 6.656 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.068, allocations: 1.344 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.068, allocations: 0 / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/1.068, allocations: 4.797 kB / 1.284 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/1.068, allocations: 164.6 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.068, allocations: 5.406 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/1.068, allocations: 0 / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/1.068, allocations: 0 / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/1.068, allocations: 7.312 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.068, allocations: 1.062 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.068, allocations: 0.6562 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/1.069, allocations: 200.2 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/1.069, allocations: 91.03 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/1.069, allocations: 3.453 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/1.069, allocations: 7.297 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/1.069, allocations: 5.984 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1.069, allocations: 6.812 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.978e-05/1.069, allocations: 94.83 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.069, allocations: 3.938 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003904/1.069, allocations: 72.69 kB / 1.285 GB, free: 7.371 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 (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.0008831/1.07, allocations: 0.7911 MB / 1.286 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002965/1.071, allocations: 171.6 kB / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.071, allocations: 0 / 1.286 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.071, allocations: 120.3 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/1.071, allocations: 7.281 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/1.071, allocations: 230.7 kB / 1.286 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/1.072, allocations: 0.6864 MB / 1.287 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.322e-06/1.072, allocations: 0 / 1.287 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/1.072, allocations: 16.19 kB / 1.287 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.072, allocations: 1.094 kB / 1.287 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/1.093, allocations: 3.152 MB / 1.29 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/9.638, allocations: 7 kB / 1.29 GB, free: 5.164 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.166808677022345]