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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00425/0.00425, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001149/0.001149, allocations: 198.1 kB / 16.68 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.679/2.679, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 67.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2733, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00152/0.2748, allocations: 0.6225 MB / 1.243 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2767, allocations: 1.431 MB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.2767, allocations: 0 / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.2768, allocations: 0 / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.2768, allocations: 7.938 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2774, allocations: 199.6 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.2775, allocations: 39.91 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 1.89e-05/0.2775, allocations: 4 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.2775, allocations: 23.84 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.2776, allocations: 19.97 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2776, allocations: 4 kB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.278, allocations: 243.7 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.278, allocations: 15.92 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.278, allocations: 11.88 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.2783, allocations: 219.4 kB / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2783, allocations: 0 / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2783, allocations: 0 / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.344e-06/0.2783, allocations: 0 / 1.245 GB, free: 6.922 MB / 0.9981 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.0003473/0.2787, allocations: 416.7 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.373e-05/0.2787, allocations: 8.031 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.2787, allocations: 30.75 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.2788, allocations: 8.891 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2789, allocations: 172.3 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-06/0.2789, allocations: 384 / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.2789, allocations: 4.375 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.279, allocations: 81.72 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-06/0.279, allocations: 3.938 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.279, allocations: 4 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2791, allocations: 4 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.2791, allocations: 35.97 kB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.2793, allocations: 165.6 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.2794, allocations: 58.56 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/0.2794, allocations: 48.86 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.2794, allocations: 0 / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.2795, allocations: 42.44 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.2795, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002706/0.2798, allocations: 187.3 kB / 1.246 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2798, allocations: 85.09 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.2799, allocations: 114.1 kB / 1.246 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2799, allocations: 25.7 kB / 1.246 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.28, allocations: 88.14 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.28, allocations: 27.89 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.2801, allocations: 21.75 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2802, allocations: 322.8 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.2803, allocations: 35.97 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.2803, allocations: 35.91 kB / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2805, allocations: 148.2 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2805, allocations: 0 / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000194/0.2807, allocations: 151.3 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.2807, allocations: 39.09 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.2807, allocations: 3.938 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.2807, allocations: 4.062 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-07/0.2807, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.2807, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.2808, allocations: 15.94 kB / 1.247 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2809, allocations: 7.984 kB / 1.247 GB, free: 4.301 MB / 0.9981 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.0001032/0.281, allocations: 147.5 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.281, allocations: 7.938 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.281, allocations: 12.31 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.281, allocations: 0 / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.281, allocations: 4 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.281, allocations: 0 / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2811, allocations: 169.6 kB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2811, allocations: 0 / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.2812, allocations: 3.938 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2812, allocations: 0 / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2812, allocations: 8 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2812, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2812, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.2814, allocations: 202.7 kB / 1.247 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.2815, allocations: 88.94 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2815, allocations: 4 kB / 1.248 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.2815, allocations: 7.984 kB / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.2816, allocations: 0 / 1.248 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2816, allocations: 8 kB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.2816, allocations: 91.27 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.863e-06/0.2816, allocations: 0 / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002618/0.2819, allocations: 75.8 kB / 1.248 GB, free: 3.375 MB / 0.9981 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.0006607/0.2826, allocations: 0.7909 MB / 1.249 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.2828, allocations: 199.3 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.2828, allocations: 0 / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.283, allocations: 159.3 kB / 1.249 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.2831, allocations: 10.97 kB / 1.249 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.2835, allocations: 214.3 kB / 1.249 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.2838, allocations: 0.6846 MB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.759e-06/0.2838, allocations: 4 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.2838, allocations: 11.44 kB / 1.25 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2838, allocations: 3.938 kB / 1.25 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5995/0.8833, allocations: 3.109 MB / 1.253 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.762, allocations: 6.281 kB / 1.253 GB, free: 13.45 MB / 0.9981 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=400 --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