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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007055/0.007055, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001248/0.001248, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.352/1.352, 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 11.1.0-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.7422 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002528/0.2937, allocations: 1.48 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2949, allocations: 0.7674 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.295, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2952, allocations: 143.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.2958, allocations: 167.6 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.296, allocations: 79.78 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2961, allocations: 67.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.2962, allocations: 12 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.2963, allocations: 43.81 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2964, allocations: 79.86 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2964, allocations: 4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.2968, allocations: 227.7 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2969, allocations: 103.7 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.297, allocations: 91.2 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.2975, allocations: 354.5 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2975, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2975, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2975, allocations: 3.938 kB / 1.223 GB, free: 11 MB / 0.9825 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.0008501/0.2984, allocations: 0.6221 MB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2984, allocations: 8.031 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.2985, allocations: 38.75 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.2985, allocations: 32.7 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.2994, allocations: 0.9202 MB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2994, allocations: 384 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.2995, allocations: 4.375 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2997, allocations: 85.78 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2997, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2997, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2997, allocations: 4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.2999, allocations: 107.9 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.3006, allocations: 0.5787 MB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3008, allocations: 102.6 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3009, allocations: 60.81 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.3009, allocations: 23.98 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.301, allocations: 34.5 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.267e-06/0.301, allocations: 4 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004533/0.3014, allocations: 217.3 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3015, allocations: 51.41 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3026, allocations: 1.209 MB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3026, allocations: 25.7 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3028, allocations: 180.1 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3028, allocations: 4.078 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3028, allocations: 17.72 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.303, allocations: 354.7 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3031, allocations: 47.97 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.3032, allocations: 47.97 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.3034, allocations: 116.8 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3034, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002872/0.3037, allocations: 153.5 kB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3037, allocations: 8 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3038, allocations: 3.984 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3038, allocations: 0 / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.3039, allocations: 8 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3039, allocations: 4 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.304, allocations: 15.97 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.304, allocations: 0 / 1.228 GB, free: 5.711 MB / 0.9825 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.0001354/0.3041, allocations: 170.2 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.3042, allocations: 27.81 kB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.3045, allocations: 176 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3045, allocations: 3.938 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3045, allocations: 4.031 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3045, allocations: 3.984 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.3048, allocations: 297.5 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3048, allocations: 4 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.3049, allocations: 7.984 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3049, allocations: 0 / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3049, allocations: 0 / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3049, allocations: 4 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3049, allocations: 0 / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3052, allocations: 267.1 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3054, allocations: 132.8 kB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3054, allocations: 4 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3055, allocations: 7.984 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.3056, allocations: 4 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3056, allocations: 0 / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008734/0.3064, allocations: 0.9598 MB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 0 / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003762/0.3068, allocations: 71.92 kB / 1.23 GB, free: 3.492 MB / 0.9825 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.0007992/0.3076, allocations: 0.8449 MB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.3079, allocations: 111.9 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3079, allocations: 0 / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3081, allocations: 51.97 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3084, allocations: 21.56 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.3151, allocations: 6.78 MB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3155, allocations: 0.7752 MB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.964e-05/0.3156, allocations: 38.94 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3158, allocations: 103.3 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.3158, allocations: 0 / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.3421, allocations: 7.132 MB / 1.246 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.542, allocations: 5.781 kB / 1.246 GB, free: 3.613 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 50 --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