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.007951/0.007951, allocations: 100.1 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.002179/0.002179, allocations: 186.8 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.618/2.618, allocations: 437.1 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.03 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002142/0.2859, allocations: 0.6039 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.288, allocations: 1.435 MB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.288, allocations: 4 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.2881, allocations: 3.938 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.2882, allocations: 0 / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.2891, allocations: 211.5 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2892, allocations: 43.84 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2892, allocations: 4 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.226e-05/0.2893, allocations: 19.97 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.2893, allocations: 19.92 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2894, allocations: 0 / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.2899, allocations: 259.6 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.29, allocations: 3.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.29, allocations: 19.92 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.2904, allocations: 211.5 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2904, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2904, allocations: 4 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2904, allocations: 0 / 1.169 GB, free: 4.383 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.0004847/0.2909, allocations: 399.9 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.291, allocations: 8.031 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.291, allocations: 34.75 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.2911, allocations: 8.922 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2912, allocations: 177 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2912, allocations: 4.375 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2912, allocations: 384 / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2914, allocations: 81.78 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2914, allocations: 3.984 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2914, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2914, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.2915, allocations: 31.98 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2917, allocations: 165.7 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.05e-05/0.2918, allocations: 62.48 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.2918, allocations: 56.86 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.2919, allocations: 4 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2919, allocations: 34.5 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.2919, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003184/0.2922, allocations: 187.2 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.2923, allocations: 81.05 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.2924, allocations: 114.3 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2924, allocations: 29.7 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2925, allocations: 92.09 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.2925, allocations: 23.66 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.2926, allocations: 21.7 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2927, allocations: 314.8 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.2928, allocations: 39.97 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.2929, allocations: 36.05 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.293, allocations: 144.4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.293, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002012/0.2932, allocations: 159.1 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.2933, allocations: 41.77 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2933, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2933, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.2933, allocations: 4 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2933, allocations: 3.984 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2934, allocations: 7.906 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.2935, allocations: 4 kB / 1.171 GB, free: 1.785 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.0001225/0.2936, allocations: 147.5 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2936, allocations: 7.938 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.2937, allocations: 16.36 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.2937, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2937, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2937, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2938, allocations: 169.6 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2938, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.2938, allocations: 3.938 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2939, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2939, allocations: 11.98 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2939, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2939, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2941, allocations: 198.7 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.2942, allocations: 88.89 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2942, allocations: 4 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.2943, allocations: 7.984 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2943, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2943, allocations: 4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.2944, allocations: 91.27 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2944, allocations: 7.969 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003303/0.2947, allocations: 76 kB / 1.172 GB, free: 0.8516 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.0007323/0.2954, allocations: 0.7897 MB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.2957, allocations: 199.3 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2957, allocations: 4.094 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2959, allocations: 151.3 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.296, allocations: 8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.2965, allocations: 222.4 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2968, allocations: 0.6885 MB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.234e-06/0.2968, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2969, allocations: 11.44 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.2969, allocations: 3.938 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3186, allocations: 3.109 MB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.326, allocations: 15.83 kB / 1.177 GB, free: 11.66 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 & /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