Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_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.004143/0.004143, allocations: 99.17 kB / 15.73 MB, free: 6.5 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.001244/0.001244, allocations: 192 kB / 16.67 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 64.12 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001662/0.2779, allocations: 0.6264 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2798, allocations: 1.433 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.2799, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.2799, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.2799, allocations: 7.922 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.2806, allocations: 207.6 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.2807, allocations: 39.91 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.2807, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.2808, allocations: 23.91 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.2808, allocations: 15.98 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2808, allocations: 7.938 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.2812, allocations: 247.7 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.2813, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.2813, allocations: 19.86 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.2816, allocations: 219.4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2817, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2817, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2817, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 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.0004198/0.2821, allocations: 404.7 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2821, allocations: 12.03 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.2822, allocations: 30.75 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.2822, allocations: 8.891 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2823, allocations: 176.3 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2824, allocations: 4.359 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2824, allocations: 12.25 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.2825, allocations: 85.72 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.2825, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.2826, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2826, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.2826, allocations: 35.98 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.2828, allocations: 157.7 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.2829, allocations: 66.55 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.283, allocations: 56.86 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.283, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.283, allocations: 38.44 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.283, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003117/0.2833, allocations: 183.3 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2834, allocations: 77.11 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.2835, allocations: 117.8 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.2835, allocations: 33.73 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.2836, allocations: 80.14 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2836, allocations: 27.75 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.2837, allocations: 21.7 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2838, allocations: 318.8 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.2839, allocations: 36.12 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.2839, allocations: 43.89 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2841, allocations: 140.8 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2841, allocations: 32 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001993/0.2843, allocations: 159.2 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.2843, allocations: 33.7 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2844, allocations: 4 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2844, allocations: 3.984 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.2844, allocations: 0 / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2844, allocations: 0 / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.2845, allocations: 7.953 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2845, allocations: 8 kB / 1.225 GB, free: 8.777 MB / 0.9825 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.0001022/0.2846, allocations: 143.5 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.2846, allocations: 15.95 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.13e-05/0.2846, allocations: 4.375 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2847, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2847, allocations: 11.88 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.2847, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2848, allocations: 173.6 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2848, allocations: 4 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-06/0.2848, allocations: 7.922 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2848, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2848, allocations: 7.938 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2849, allocations: 4 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2849, allocations: 0 / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2851, allocations: 190.8 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.2852, allocations: 92.94 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2852, allocations: 0 / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.2852, allocations: 11.98 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2853, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2853, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.726e-05/0.2853, allocations: 95.3 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2853, allocations: 4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002901/0.2856, allocations: 75.86 kB / 1.226 GB, free: 7.836 MB / 0.9825 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.0007247/0.2864, allocations: 0.7901 MB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.2866, allocations: 199.3 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2867, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2868, allocations: 155.3 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.287, allocations: 11.56 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.2874, allocations: 222.2 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2877, allocations: 0.6846 MB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.749e-06/0.2877, allocations: 3.938 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.2878, allocations: 11.44 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.2878, allocations: 4.125 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3113, allocations: 3.1 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.839, allocations: 10.53 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches