Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001444/0.001444, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001424/0.001424, allocations: 215 kB / 20.13 MB, free: 2.949 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.647/1.647, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.088/3.088, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_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.002413/0.002413, allocations: 79.83 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.163, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002245/1.165, allocations: 0.6178 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002067/1.167, allocations: 1.497 MB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/1.167, allocations: 1.219 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/1.167, allocations: 3.938 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/1.167, allocations: 1.969 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/1.168, allocations: 210.1 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/1.168, allocations: 41.86 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/1.168, allocations: 1.922 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/1.168, allocations: 11.27 kB / 1.343 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/1.168, allocations: 27.56 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/1.168, allocations: 2.562 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/1.169, allocations: 261.7 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/1.169, allocations: 8.219 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/1.169, allocations: 14.7 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/1.17, allocations: 216.8 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.17, allocations: 4 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.344e-06/1.17, allocations: 1.812 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.17, allocations: 4 kB / 1.343 GB, free: 14.61 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.0004242/1.17, allocations: 404.1 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.17, allocations: 10.75 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.442e-05/1.17, allocations: 0.8906 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/1.17, allocations: 33.19 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/1.17, allocations: 8.516 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.17, allocations: 171.7 kB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/1.17, allocations: 6.469 kB / 1.344 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.17, allocations: 6.656 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/1.17, allocations: 79.16 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.17, allocations: 0 / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.17, allocations: 1.375 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.17, allocations: 1.375 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/1.17, allocations: 39.67 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/1.171, allocations: 163.5 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/1.171, allocations: 52.48 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/1.171, allocations: 44.36 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/1.171, allocations: 8.438 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/1.171, allocations: 35.88 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.171, allocations: 0 / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003817/1.171, allocations: 190.4 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.171, allocations: 81.12 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/1.171, allocations: 114.9 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/1.171, allocations: 27.08 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/1.171, allocations: 86.39 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/1.171, allocations: 30.36 kB / 1.345 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/1.171, allocations: 18.19 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/1.171, allocations: 318 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/1.172, allocations: 37.17 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/1.172, allocations: 36.22 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/1.172, allocations: 140.3 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.172, allocations: 0.7812 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002052/1.172, allocations: 159.4 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/1.172, allocations: 41.05 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.172, allocations: 0 / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.172, allocations: 1.891 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/1.172, allocations: 0 / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.172, allocations: 0 / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.172, allocations: 11.58 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.172, allocations: 6.25 kB / 1.345 GB, free: 12.62 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 9.787e-05/1.172, allocations: 145.6 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/1.172, allocations: 12.38 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/1.172, allocations: 11.36 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.172, allocations: 0 / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.172, allocations: 0.7969 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.172, allocations: 1.156 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/1.172, allocations: 167.3 kB / 1.346 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.172, allocations: 4.641 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/1.172, allocations: 1.156 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.172, allocations: 0 / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/1.172, allocations: 4.219 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.172, allocations: 0.5156 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.172, allocations: 4 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/1.173, allocations: 204.6 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/1.173, allocations: 91.73 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/1.173, allocations: 5.594 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/1.173, allocations: 7.109 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/1.173, allocations: 4.125 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.173, allocations: 5.266 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.969e-05/1.173, allocations: 95.8 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.173, allocations: 3.938 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003893/1.173, allocations: 76.89 kB / 1.346 GB, free: 11.93 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.0006198/1.174, allocations: 0.7812 MB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002551/1.174, allocations: 166.5 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.174, allocations: 0 / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/1.174, allocations: 117.9 kB / 1.347 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/1.174, allocations: 5.844 kB / 1.347 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/1.175, allocations: 230.8 kB / 1.347 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/1.175, allocations: 0.6853 MB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.825e-06/1.175, allocations: 0.7031 kB / 1.348 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/1.175, allocations: 13.8 kB / 1.348 GB, free: 10.24 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.175, allocations: 128 / 1.348 GB, free: 10.24 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.196, allocations: 3.166 MB / 1.351 GB, free: 9.754 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.573, allocations: 9.766 kB / 1.351 GB, free: 9.75 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.561178054020274]