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.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 191.4 kB / 16.53 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.648/2.648, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 77.39 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001956/0.2882, allocations: 0.6128 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2904, allocations: 1.448 MB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.2905, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.2906, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.2906, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.2914, allocations: 214.1 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.2915, allocations: 31.97 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.2916, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.2916, allocations: 19.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.2917, allocations: 27.86 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2917, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.2921, allocations: 243.7 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.2921, allocations: 8 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.2922, allocations: 15.86 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.2925, allocations: 211.6 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2926, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2926, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2926, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 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.000463/0.293, allocations: 405.4 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2931, allocations: 12.03 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.2931, allocations: 30.75 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.2932, allocations: 12.78 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2933, allocations: 176.2 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2933, allocations: 384 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2933, allocations: 4.375 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2935, allocations: 77.78 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2935, allocations: 3.938 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2935, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2935, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.2936, allocations: 39.97 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2938, allocations: 157.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/0.2939, allocations: 66.55 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.2939, allocations: 52.86 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.294, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.294, allocations: 38.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.796e-06/0.294, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003387/0.2944, allocations: 191.2 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.2944, allocations: 81.11 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.2945, allocations: 109.8 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2945, allocations: 25.7 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2946, allocations: 92.17 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.2946, allocations: 27.58 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.2947, allocations: 17.72 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2948, allocations: 322.8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.2949, allocations: 35.97 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.295, allocations: 32.12 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2951, allocations: 148.1 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2951, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000201/0.2953, allocations: 151.3 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.2954, allocations: 43.25 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2954, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2954, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.2954, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2954, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2956, allocations: 15.89 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2956, allocations: 12 kB / 1.069 GB, free: 8.691 MB / 0.8262 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.0001154/0.2957, allocations: 143.5 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.2957, allocations: 15.86 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.2958, allocations: 8.375 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2958, allocations: 7.984 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2958, allocations: 0 / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.2958, allocations: 0 / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2959, allocations: 165.7 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2959, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-06/0.2959, allocations: 7.875 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.296, allocations: 0 / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.296, allocations: 8 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.296, allocations: 3.984 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.296, allocations: 0.625 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.2963, allocations: 198.7 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.2963, allocations: 88.95 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2963, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.2964, allocations: 8 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.2964, allocations: 3.984 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2964, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.2965, allocations: 99.25 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2965, allocations: 4.031 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003043/0.2968, allocations: 68 kB / 1.07 GB, free: 7.766 MB / 0.8262 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.0007611/0.2976, allocations: 0.7936 MB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.2978, allocations: 195.3 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2979, allocations: 4.094 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.298, allocations: 159.3 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.2982, allocations: 6.062 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.2987, allocations: 230.3 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.299, allocations: 0.6807 MB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.405e-06/0.299, allocations: 4 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2991, allocations: 23.48 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2991, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.3312, allocations: 3.052 MB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.81, allocations: 24.98 kB / 1.075 GB, free: 2.578 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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