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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008929/0.000893, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004998/0.004998, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.38/2.38, allocations: 443.4 MB / 0.7176 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 12.25 kB / 0.8797 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3051, allocations: 155.2 MB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006811/0.3059, allocations: 344.3 kB / 1.032 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3076, allocations: 1.478 MB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.3076, allocations: 0 / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.3077, allocations: 0 / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.3077, allocations: 0 / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.3083, allocations: 163.7 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.3083, allocations: 23.98 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.3084, allocations: 7.984 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.3084, allocations: 19.92 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.3085, allocations: 19.97 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3085, allocations: 4 kB / 1.033 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3088, allocations: 239.6 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.3089, allocations: 11.92 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.3089, allocations: 53.5 kB / 1.034 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3092, allocations: 207.6 kB / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3092, allocations: 0 / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3092, allocations: 0 / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.155e-06/0.3092, allocations: 0 / 1.034 GB, free: 1.609 MB / 0.7794 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.0003147/0.3095, allocations: 389.4 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3095, allocations: 8.031 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.3096, allocations: 38.67 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.3096, allocations: 4.938 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3097, allocations: 180.2 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3097, allocations: 4.375 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3097, allocations: 4.375 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3099, allocations: 77.77 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.3099, allocations: 0 / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3099, allocations: 3.938 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3099, allocations: 4 kB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.31, allocations: 39.91 kB / 1.034 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.3101, allocations: 161.7 kB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.3102, allocations: 62.55 kB / 1.035 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.3103, allocations: 48.88 kB / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.3103, allocations: 0 / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3103, allocations: 38.48 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3103, allocations: 0 / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002694/0.3106, allocations: 191.2 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3106, allocations: 85.11 kB / 1.035 GB, free: 92 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.3107, allocations: 109.9 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3107, allocations: 29.7 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.3108, allocations: 88.14 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3108, allocations: 19.64 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.3109, allocations: 13.72 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.3109, allocations: 318.8 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.311, allocations: 35.97 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.3111, allocations: 35.97 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3112, allocations: 140.2 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3112, allocations: 8.031 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001733/0.3114, allocations: 155.3 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.3114, allocations: 41.69 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3114, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.3114, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3115, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.3115, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.3115, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.3116, allocations: 11.92 kB / 1.036 GB, free: 15.03 MB / 0.795 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.221e-05/0.3117, allocations: 157 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3117, allocations: 11.84 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.295e-05/0.3117, allocations: 4.375 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3117, allocations: 0 / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.3117, allocations: 0 / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3117, allocations: 4 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.978e-05/0.3118, allocations: 169.6 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3119, allocations: 3.938 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.3119, allocations: 3.938 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.3119, allocations: 3.984 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3119, allocations: 4 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3119, allocations: 4 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3119, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3121, allocations: 195.3 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.3122, allocations: 92.95 kB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3122, allocations: 0 / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.3122, allocations: 7.984 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3122, allocations: 4 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.3123, allocations: 4.031 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.3123, allocations: 99.25 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3123, allocations: 0 / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000275/0.3126, allocations: 75.98 kB / 1.037 GB, free: 14.09 MB / 0.795 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.000627/0.3132, allocations: 0.7896 MB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3135, allocations: 203.3 kB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3135, allocations: 0 / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3136, allocations: 151.3 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.3138, allocations: 12.58 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.3142, allocations: 229.5 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3144, allocations: 0.6889 MB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.19e-06/0.3144, allocations: 8 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.3144, allocations: 11.44 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3144, allocations: 0 / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.691/2.006, allocations: 2.862 MB / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/2.006, allocations: 217.5 kB / 1.042 GB, free: 8.949 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/3.703, allocations: 0 / 1.042 GB, free: 8.949 MB / 0.795 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