Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001624/0.001624, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.00209/0.00209, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_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.002262/0.002262, allocations: 67.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.322 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001574/1.067, allocations: 0.6181 MB / 1.322 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001513/1.069, allocations: 1.493 MB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/1.069, allocations: 2.75 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/1.069, allocations: 3.938 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/1.069, allocations: 0 / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/1.069, allocations: 213.1 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/1.069, allocations: 38.81 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/1.069, allocations: 10.72 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/1.069, allocations: 15.84 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/1.069, allocations: 22.97 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/1.069, allocations: 6.781 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/1.07, allocations: 255.2 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/1.07, allocations: 2.656 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/1.07, allocations: 20.7 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/1.07, allocations: 220.4 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/1.07, allocations: 7.938 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.07, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.298e-06/1.07, allocations: 0 / 1.324 GB, free: 23.13 MB / 1.061 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.0003151/1.07, allocations: 404.5 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/1.07, allocations: 12.42 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.879e-05/1.07, allocations: 3 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.921e-05/1.07, allocations: 34.75 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/1.071, allocations: 3.719 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/1.071, allocations: 178.4 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.071, allocations: 3.188 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/1.071, allocations: 3.125 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.071, allocations: 74.88 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.071, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.071, allocations: 9.781 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/1.071, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.317e-05/1.071, allocations: 35.72 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/1.071, allocations: 158 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/1.071, allocations: 56.34 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/1.071, allocations: 41.55 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/1.071, allocations: 3.938 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.071, allocations: 33.12 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/1.071, allocations: 3.938 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002943/1.071, allocations: 188.4 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.071, allocations: 87.23 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/1.071, allocations: 118.7 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/1.071, allocations: 25.7 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/1.072, allocations: 89.92 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/1.072, allocations: 18.73 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/1.072, allocations: 25.52 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/1.072, allocations: 313.8 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/1.072, allocations: 38.67 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/1.072, allocations: 38.2 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.072, allocations: 148.1 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.072, allocations: 0 / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001632/1.072, allocations: 158.3 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.072, allocations: 41.23 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.072, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.072, allocations: 2.75 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/1.072, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.072, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/1.072, allocations: 9.422 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/1.072, allocations: 2.938 kB / 1.327 GB, free: 21.16 MB / 1.061 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 7.493e-05/1.072, allocations: 153.4 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/1.072, allocations: 17.02 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/1.072, allocations: 4.375 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/1.072, allocations: 0 / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.072, allocations: 0 / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/1.072, allocations: 2.625 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.484e-05/1.072, allocations: 163.3 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.072, allocations: 3.938 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/1.072, allocations: 3.938 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.072, allocations: 4 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/1.072, allocations: 2.688 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.072, allocations: 2.875 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.072, allocations: 3.562 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/1.073, allocations: 195.3 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/1.073, allocations: 90.41 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/1.073, allocations: 5.688 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/1.073, allocations: 5.156 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/1.073, allocations: 10.38 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.073, allocations: 8.047 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.583e-05/1.073, allocations: 91.83 kB / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.073, allocations: 0 / 1.327 GB, free: 20.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000445/1.073, allocations: 70 kB / 1.327 GB, free: 20.46 MB / 1.061 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.0006874/1.074, allocations: 0.7972 MB / 1.328 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002473/1.074, allocations: 156.6 kB / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.074, allocations: 0 / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.074, allocations: 118.7 kB / 1.328 GB, free: 19.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/1.074, allocations: 8.281 kB / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/1.075, allocations: 236.3 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/1.075, allocations: 0.6857 MB / 1.329 GB, free: 18.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.25e-06/1.075, allocations: 128 / 1.329 GB, free: 18.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/1.075, allocations: 16.38 kB / 1.329 GB, free: 18.76 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.075, allocations: 3.938 kB / 1.329 GB, free: 18.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.095, allocations: 3.156 MB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/9.433, allocations: 10.08 kB / 1.332 GB, free: 18.25 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.3578372199554]