Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 194.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 67.91 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7278, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00197/0.7298, allocations: 0.6859 MB / 1.018 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.7317, allocations: 1.431 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.7317, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.033e-05/0.7318, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.7318, allocations: 3.984 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.7325, allocations: 199.2 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.7326, allocations: 31.97 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.7326, allocations: 7.984 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.7327, allocations: 15.94 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.7327, allocations: 19.97 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.7327, allocations: 4 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.7331, allocations: 255.5 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.7331, allocations: 7.984 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.7332, allocations: 19.88 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.7335, allocations: 211.6 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7335, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7335, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7335, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 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.0004225/0.7339, allocations: 403.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.734, allocations: 8.031 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.734, allocations: 34.75 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.7341, allocations: 8.844 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7342, allocations: 176.3 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7342, allocations: 4.375 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.7342, allocations: 384 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.7344, allocations: 81.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.7344, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7344, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7344, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.7345, allocations: 35.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.7346, allocations: 161.6 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.7347, allocations: 70.48 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.7348, allocations: 52.86 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.7348, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7349, allocations: 38.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.7349, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003142/0.7352, allocations: 183.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.7352, allocations: 81.11 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.7353, allocations: 117.9 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.7353, allocations: 29.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.7354, allocations: 84.14 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.7354, allocations: 27.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.7355, allocations: 21.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7356, allocations: 314.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.7357, allocations: 39.97 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.7357, allocations: 35.97 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.7359, allocations: 144.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7359, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001855/0.7361, allocations: 155.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.7361, allocations: 37.69 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7361, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7361, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.7361, allocations: 3.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7362, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.7363, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.7363, allocations: 11.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 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.0001409/0.7365, allocations: 156 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.7365, allocations: 11.84 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.7365, allocations: 4.375 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7365, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7365, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7365, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.7367, allocations: 173.6 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7367, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.7367, allocations: 3.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7367, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7367, allocations: 8 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7367, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7367, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.737, allocations: 199.2 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.737, allocations: 81.05 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.7371, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.7371, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.7371, allocations: 8.031 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.7372, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.7372, allocations: 95.25 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7372, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002903/0.7375, allocations: 75.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 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.0006784/0.7382, allocations: 0.7936 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.7384, allocations: 203.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7385, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.7386, allocations: 147.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.7387, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.7392, allocations: 234.6 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7395, allocations: 0.6925 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.935e-06/0.7395, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.7395, allocations: 15.38 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7396, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.7528, allocations: 3 MB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.7531, allocations: 217.1 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.435, allocations: 2.672 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches