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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_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.007011/0.007011, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.001641/0.001641, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.849/2.849, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 68.11 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3276, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00179/0.3294, allocations: 0.6186 MB / 1.208 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3314, allocations: 1.435 MB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3315, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.3316, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.3316, allocations: 7.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.3324, allocations: 206.4 kB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.3325, allocations: 39.91 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.3325, allocations: 0 / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.3326, allocations: 23.92 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.3326, allocations: 19.97 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3326, allocations: 11.88 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3331, allocations: 247.7 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.3331, allocations: 7.984 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.3332, allocations: 19.86 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.3335, allocations: 211.5 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3335, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3335, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3335, allocations: 0 / 1.21 GB, free: 7.266 MB / 0.9669 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.0004124/0.3339, allocations: 409.3 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.334, allocations: 8.625 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.334, allocations: 30.75 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.334, allocations: 4.938 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3342, allocations: 176.2 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3342, allocations: 384 / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3342, allocations: 8.312 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3344, allocations: 85.72 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.3344, allocations: 0 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3344, allocations: 4 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3344, allocations: 4 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.3345, allocations: 31.97 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.3346, allocations: 169.7 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.3347, allocations: 54.56 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.3348, allocations: 52.86 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.3348, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.3349, allocations: 42.44 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3349, allocations: 0 / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003227/0.3352, allocations: 191.4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3353, allocations: 85.09 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.3354, allocations: 113.8 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3354, allocations: 25.7 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.3354, allocations: 84.14 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3355, allocations: 27.64 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3355, allocations: 17.75 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3356, allocations: 322.8 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.3357, allocations: 31.98 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.3357, allocations: 39.91 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3359, allocations: 144.8 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3359, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001796/0.3361, allocations: 155.2 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.3361, allocations: 43.25 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3361, allocations: 0 / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3362, allocations: 4.047 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.3362, allocations: 7.938 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3362, allocations: 0 / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3363, allocations: 8 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3363, allocations: 7.984 kB / 1.212 GB, free: 4.652 MB / 0.9669 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.0001/0.3364, allocations: 143.5 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.3365, allocations: 7.938 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.3365, allocations: 12.38 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3365, allocations: 0 / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3365, allocations: 11.88 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3365, allocations: 0 / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3366, allocations: 173.5 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3366, allocations: 0 / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.3366, allocations: 3.938 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3367, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3367, allocations: 4 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3367, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3367, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3369, allocations: 198.8 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.337, allocations: 84.95 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.337, allocations: 4 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.3371, allocations: 7.984 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.3371, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3371, allocations: 12 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.3372, allocations: 91.27 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3372, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003797/0.3376, allocations: 75.98 kB / 1.213 GB, free: 3.727 MB / 0.9669 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.0008059/0.3384, allocations: 0.7912 MB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3387, allocations: 199.3 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3387, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.3389, allocations: 155.3 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.3391, allocations: 10 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.3396, allocations: 227.2 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3399, allocations: 0.6846 MB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.181e-06/0.3399, allocations: 3.938 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3399, allocations: 15.44 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3399, allocations: 0 / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.3593, allocations: 3.154 MB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.188, allocations: 3.938 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) 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) Reference file matches