Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_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.007096/0.007096, allocations: 100.1 kB / 15.73 MB, free: 6.453 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.001689/0.001689, allocations: 199.7 kB / 16.67 MB, free: 6.355 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.53 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2745, allocations: 140.4 MB / 1.088 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001801/0.2764, allocations: 0.6038 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2783, allocations: 1.448 MB / 1.09 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.2783, allocations: 7.938 kB / 1.09 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.2784, allocations: 0 / 1.09 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.2785, allocations: 3.938 kB / 1.09 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.2793, allocations: 213.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.761e-05/0.2794, allocations: 31.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.2794, allocations: 3.984 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.2795, allocations: 23.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.2795, allocations: 23.91 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2796, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.28, allocations: 251.6 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.28, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.2801, allocations: 15.88 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.2804, allocations: 207.6 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2804, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2804, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2804, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 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.0004375/0.2809, allocations: 400 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2809, allocations: 15.97 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.281, allocations: 34.73 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.281, allocations: 8.844 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2811, allocations: 181 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2811, allocations: 384 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2812, allocations: 4.375 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2813, allocations: 77.78 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2813, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2814, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2814, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.2814, allocations: 35.97 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.2816, allocations: 161.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.2817, allocations: 66.48 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.2818, allocations: 48.88 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.2818, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2818, allocations: 42.48 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2818, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003353/0.2822, allocations: 191.2 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2822, allocations: 85.05 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.2823, allocations: 113.8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2823, allocations: 25.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2824, allocations: 80.14 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2824, allocations: 27.64 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.2825, allocations: 17.72 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2826, allocations: 326.9 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.2826, allocations: 39.91 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.2827, allocations: 32.53 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2828, allocations: 152.4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2829, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001804/0.283, allocations: 147.3 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.2831, allocations: 45.62 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2831, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2831, allocations: 0 / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.2831, allocations: 4.062 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2831, allocations: 0 / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2832, allocations: 11.89 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2833, allocations: 11.94 kB / 1.093 GB, free: 12.64 MB / 0.8575 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.327e-05/0.2834, allocations: 143.5 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2834, allocations: 7.938 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.2834, allocations: 8.375 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2834, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2834, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2834, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2835, allocations: 165.6 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2835, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.2835, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2836, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2836, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2836, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2836, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.2838, allocations: 202.6 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.2839, allocations: 96.88 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2839, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.2839, allocations: 12 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.2839, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.284, allocations: 11.98 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.284, allocations: 91.27 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.284, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003036/0.2843, allocations: 68 kB / 1.093 GB, free: 11.73 MB / 0.8575 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.0006634/0.285, allocations: 0.7937 MB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.2852, allocations: 199.2 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2852, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2854, allocations: 155.3 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.2855, allocations: 5.547 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.286, allocations: 233.7 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2862, allocations: 0.6807 MB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.52e-06/0.2862, allocations: 0 / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.2862, allocations: 15.42 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2862, allocations: 0 / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3043, allocations: 3.102 MB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.7, allocations: 10.97 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches