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 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.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.00777/0.00777, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.002117/0.002117, allocations: 199 kB / 16.68 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.83 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2976, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002496/0.3001, allocations: 1.474 MB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3014, allocations: 0.7713 MB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.3015, allocations: 0 / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3017, allocations: 139.7 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.3022, allocations: 179.1 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.3024, allocations: 67.8 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3025, allocations: 75.73 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/0.3026, allocations: 11.98 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.3027, allocations: 39.89 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3028, allocations: 75.86 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3028, allocations: 4 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.3032, allocations: 231.7 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3033, allocations: 103.7 kB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.3034, allocations: 99.2 kB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.3039, allocations: 350.5 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3039, allocations: 7.984 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3039, allocations: 0 / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3039, allocations: 0 / 1.245 GB, free: 6.574 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008321/0.3048, allocations: 0.6221 MB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3048, allocations: 12.03 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.3048, allocations: 34.75 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3049, allocations: 32.7 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.3058, allocations: 0.9164 MB / 1.247 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3058, allocations: 4.375 kB / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.3059, allocations: 384 / 1.247 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3061, allocations: 97.72 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3061, allocations: 0 / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.3061, allocations: 0 / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3061, allocations: 0 / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.3063, allocations: 99.92 kB / 1.247 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.307, allocations: 0.5787 MB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3072, allocations: 110.5 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3074, allocations: 56.81 kB / 1.247 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.3074, allocations: 23.98 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3074, allocations: 30.56 kB / 1.248 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3074, allocations: 4 kB / 1.248 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0005013/0.308, allocations: 213.4 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.308, allocations: 51.41 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3093, allocations: 1.205 MB / 1.249 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3093, allocations: 25.7 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3095, allocations: 184.2 kB / 1.249 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3095, allocations: 7.953 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3095, allocations: 13.72 kB / 1.249 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3097, allocations: 354.7 kB / 1.25 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3098, allocations: 51.91 kB / 1.25 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3099, allocations: 47.97 kB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.3102, allocations: 112.8 kB / 1.25 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3102, allocations: 0 / 1.25 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003066/0.3105, allocations: 161.5 kB / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3105, allocations: 7.984 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3105, allocations: 0 / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3106, allocations: 0 / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.3106, allocations: 8 kB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3107, allocations: 4.031 kB / 1.25 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.3107, allocations: 7.984 kB / 1.25 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3108, allocations: 3.938 kB / 1.25 GB, free: 1.285 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 (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.0001453/0.3109, allocations: 170.2 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.311, allocations: 39.77 kB / 1.25 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.3113, allocations: 164.1 kB / 1.25 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3113, allocations: 4.031 kB / 1.25 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3113, allocations: 7.922 kB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3113, allocations: 4 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.3117, allocations: 293.5 kB / 1.251 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3117, allocations: 0 / 1.251 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.3117, allocations: 7.984 kB / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3118, allocations: 0 / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3118, allocations: 8 kB / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3118, allocations: 3.938 kB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3118, allocations: 0 / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3121, allocations: 267.1 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3123, allocations: 132.8 kB / 1.251 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3123, allocations: 0 / 1.251 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3124, allocations: 7.984 kB / 1.251 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3125, allocations: 4 kB / 1.251 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3125, allocations: 7.984 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5309/0.8434, allocations: 0.9506 MB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8434, allocations: 0 / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004567/0.8439, allocations: 70.53 kB / 1.252 GB, free: 14.98 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 (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.0006936/0.8446, allocations: 0.8438 MB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.8449, allocations: 105.5 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8449, allocations: 0.75 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.845, allocations: 60.02 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.8454, allocations: 19.73 kB / 1.253 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.852, allocations: 6.776 MB / 1.26 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.8522, allocations: 0.7785 MB / 1.26 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.833e-05/0.8523, allocations: 40.16 kB / 1.26 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.8524, allocations: 96.12 kB / 1.26 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8524, allocations: 0 / 1.26 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.8809, allocations: 7.127 MB / 1.267 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.974, allocations: 13.56 kB / 1.267 GB, free: 11 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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