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.007317/0.007317, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001687/0.001687, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.769/2.769, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 151.6 MB / 1.166 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001868/0.3145, allocations: 0.6116 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3166, allocations: 1.439 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.3166, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.3167, allocations: 3.938 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.3168, allocations: 4 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.3175, allocations: 207.5 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3177, allocations: 39.92 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.3177, allocations: 3.984 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.3177, allocations: 15.98 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.3178, allocations: 23.91 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3178, allocations: 4 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.3183, allocations: 255.6 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3183, allocations: 7.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.3184, allocations: 11.94 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3187, allocations: 215.7 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3187, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3187, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3188, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 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.0004828/0.3192, allocations: 408.7 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3193, allocations: 12.03 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3193, allocations: 38.67 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3194, allocations: 12.89 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3195, allocations: 164.4 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.3195, allocations: 384 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3196, allocations: 384 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3197, allocations: 77.78 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3197, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3198, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3198, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.3198, allocations: 39.97 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.32, allocations: 173.5 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.3201, allocations: 62.55 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.3202, allocations: 48.88 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.3202, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3203, allocations: 38.48 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3203, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003401/0.3206, allocations: 187.2 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3207, allocations: 81.14 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3208, allocations: 122.1 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3208, allocations: 29.64 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.3209, allocations: 80.14 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.3209, allocations: 39.81 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.321, allocations: 17.72 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3211, allocations: 322.8 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.3212, allocations: 35.97 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.3213, allocations: 35.98 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3214, allocations: 148.2 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3215, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002181/0.3217, allocations: 151.2 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.3217, allocations: 37.69 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3217, allocations: 4 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3218, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3218, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3218, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.3219, allocations: 11.94 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.322, allocations: 12.06 kB / 1.171 GB, free: 1.762 MB / 0.92 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.0001378/0.3221, allocations: 147.5 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3222, allocations: 11.92 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.3222, allocations: 8.375 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3222, allocations: 0 / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3222, allocations: 4 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3222, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3224, allocations: 169.6 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3224, allocations: 0 / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-06/0.3224, allocations: 7.938 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3224, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3224, allocations: 4 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3224, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3224, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3227, allocations: 194.7 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3227, allocations: 92.98 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3228, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.3228, allocations: 12.03 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.3228, allocations: 0 / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3229, allocations: 7.984 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.3229, allocations: 91.27 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.324e-06/0.3229, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003283/0.3233, allocations: 75.81 kB / 1.172 GB, free: 0.8359 MB / 0.92 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.0007853/0.3241, allocations: 0.8019 MB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.3244, allocations: 195.4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3244, allocations: 3.938 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3246, allocations: 155.3 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3247, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3252, allocations: 222.3 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3255, allocations: 0.6807 MB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.322e-06/0.3255, allocations: 4.125 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.3256, allocations: 19.42 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3256, allocations: 0 / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.3512, allocations: 3.1 MB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.404, allocations: 14.7 kB / 1.177 GB, free: 11.64 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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