Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.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.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",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.001165/0.001169, 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: 196.8 kB / 16.14 MB, free: 6.719 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.81 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003006/0.2985, allocations: 1.522 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3, allocations: 0.8182 MB / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3, allocations: 0 / 1.054 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3003, allocations: 135.8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.3009, allocations: 155.6 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.3011, allocations: 55.89 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3012, allocations: 67.81 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.3013, allocations: 4 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.3014, allocations: 39.88 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3015, allocations: 79.84 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3016, allocations: 4 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.302, allocations: 211.7 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3022, allocations: 107.7 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.3023, allocations: 103.1 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.3028, allocations: 335 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3028, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.634e-06/0.3028, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.3028, allocations: 0 / 1.056 GB, free: 4.562 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009512/0.3037, allocations: 0.6086 MB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3038, allocations: 15.97 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3038, allocations: 30.75 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.3039, allocations: 32.47 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.3048, allocations: 0.9161 MB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3049, allocations: 4.375 kB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3049, allocations: 384 / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3051, allocations: 97.66 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3051, allocations: 0 / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3051, allocations: 0 / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3051, allocations: 4 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3054, allocations: 99.94 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.3061, allocations: 0.5748 MB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3063, allocations: 114.4 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3064, allocations: 56.88 kB / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3064, allocations: 23.98 kB / 1.058 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3065, allocations: 30.56 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3065, allocations: 0 / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000462/0.3069, allocations: 217.1 kB / 1.058 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.307, allocations: 51.41 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3081, allocations: 1.205 MB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3082, allocations: 29.83 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3084, allocations: 180.1 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3084, allocations: 11.83 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3084, allocations: 17.72 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.3087, allocations: 354.8 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3088, allocations: 47.97 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.3089, allocations: 55.97 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3091, allocations: 104.8 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3091, allocations: 0 / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003042/0.3094, allocations: 161.3 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.3095, allocations: 5.406 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3095, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3095, allocations: 8.078 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.3096, allocations: 8 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3096, allocations: 3.938 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.3097, allocations: 7.984 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3097, allocations: 0 / 1.061 GB, free: 15.28 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001419/0.3098, allocations: 169.7 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.3099, allocations: 35.53 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.3102, allocations: 168.1 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3102, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3102, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3102, allocations: 11.92 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3105, allocations: 297.5 kB / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3105, allocations: 0 / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3106, allocations: 7.984 kB / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3106, allocations: 0 / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3106, allocations: 4 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3106, allocations: 4.031 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3106, allocations: 3.938 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.311, allocations: 259 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3111, allocations: 128.6 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3112, allocations: 4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3113, allocations: 11.98 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3113, allocations: 7.969 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.3114, allocations: 4 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009302/0.3123, allocations: 0.9481 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003592/0.3127, allocations: 79.98 kB / 1.063 GB, free: 13.06 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0007899/0.3135, allocations: 0.8408 MB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3137, allocations: 103.9 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3137, allocations: 4 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3139, allocations: 51.97 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3142, allocations: 21.72 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.3216, allocations: 6.863 MB / 1.07 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.322, allocations: 0.782 MB / 1.071 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.284e-05/0.3221, allocations: 34.94 kB / 1.071 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3223, allocations: 95.41 kB / 1.071 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.3223, allocations: 0 / 1.071 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3573, allocations: 6.794 MB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.3576, allocations: 211.8 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.203, allocations: 4 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches