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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001214/0.001214, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.08 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00187/0.2696, allocations: 0.6776 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2715, allocations: 1.49 MB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.2716, allocations: 0 / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.2716, allocations: 0 / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.2717, allocations: 0 / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.2723, allocations: 166.8 kB / 1.054 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.2724, allocations: 27.97 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.2724, allocations: 7.984 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.2724, allocations: 15.94 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2725, allocations: 27.89 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2725, allocations: 4 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.2729, allocations: 231.6 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.273, allocations: 8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.273, allocations: 19.84 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.2733, allocations: 211.6 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2733, allocations: 3.984 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2733, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2734, allocations: 3.938 kB / 1.055 GB, free: 5.328 MB / 0.8106 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.0003934/0.2738, allocations: 401.4 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2738, allocations: 11.97 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.2738, allocations: 42.69 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.2739, allocations: 8.844 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.274, allocations: 168.2 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.274, allocations: 8.375 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.274, allocations: 384 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.2742, allocations: 77.78 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2742, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2742, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2742, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.2743, allocations: 43.91 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.2744, allocations: 165.6 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.2745, allocations: 62.55 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.2746, allocations: 56.86 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.2746, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2746, allocations: 34.5 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2746, allocations: 3.938 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002911/0.2749, allocations: 187.2 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.275, allocations: 81.11 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.2751, allocations: 109.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2751, allocations: 33.73 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.2751, allocations: 88.12 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.2752, allocations: 23.56 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2752, allocations: 25.7 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.2753, allocations: 310.8 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.2754, allocations: 39.97 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.2754, allocations: 35.97 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2756, allocations: 136.8 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2756, allocations: 4.031 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.2758, allocations: 163.3 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.2758, allocations: 37.69 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2758, allocations: 0 / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2758, allocations: 0 / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-06/0.2758, allocations: 4 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2759, allocations: 3.984 kB / 1.057 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.276, allocations: 7.984 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.276, allocations: 4 kB / 1.057 GB, free: 2.723 MB / 0.8106 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.835e-05/0.2761, allocations: 155.6 kB / 1.057 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.2761, allocations: 11.84 kB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.2761, allocations: 8.359 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2761, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2761, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2761, allocations: 0 / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2763, allocations: 165.7 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2763, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-06/0.2763, allocations: 3.938 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2763, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2763, allocations: 7.984 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2763, allocations: 4 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2763, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2765, allocations: 198.6 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.2766, allocations: 81.05 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2766, allocations: 4 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.2767, allocations: 4 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2767, allocations: 11.98 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2767, allocations: 8 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.2767, allocations: 95.3 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2768, allocations: 0 / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002994/0.2771, allocations: 75.94 kB / 1.058 GB, free: 1.797 MB / 0.8106 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.0006731/0.2777, allocations: 0.7974 MB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.278, allocations: 199.3 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.278, allocations: 0 / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.2781, allocations: 151.3 kB / 1.059 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2783, allocations: 8 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.2788, allocations: 228.3 kB / 1.059 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.279, allocations: 0.6848 MB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.801e-06/0.279, allocations: 4.125 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.2791, allocations: 19.42 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2791, allocations: 0 / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.2918, allocations: 2.915 MB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.292, allocations: 215 kB / 1.063 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.37, allocations: 4.5 kB / 1.063 GB, free: 12.57 MB / 0.8262 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