Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.006539/0.006539, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001458/0.001458, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.825/2.825, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3179, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003256/0.3212, allocations: 1.496 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3228, allocations: 0.7362 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.3229, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3232, allocations: 127.7 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3234, allocations: 71.83 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.3242, allocations: 183.1 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3244, allocations: 63.83 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3245, allocations: 7.922 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.3245, allocations: 31.95 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3247, allocations: 83.84 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3247, allocations: 4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.3252, allocations: 231.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3253, allocations: 59.83 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.3254, allocations: 55.48 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.3259, allocations: 274.9 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.527e-05/0.326, allocations: 7.938 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.326, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.3261, allocations: 3.984 kB / 1.223 GB, free: 11.14 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.0008961/0.327, allocations: 0.5096 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.327, allocations: 8.031 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.3271, allocations: 30.75 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.3272, allocations: 24.75 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3275, allocations: 263.9 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3275, allocations: 384 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3275, allocations: 4.359 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3278, allocations: 81.78 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3278, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3278, allocations: 7.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3278, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.3281, allocations: 87.94 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3287, allocations: 396.7 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3289, allocations: 94.53 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.329, allocations: 44.89 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.3291, allocations: 15.98 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3291, allocations: 34.5 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.3291, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004744/0.3296, allocations: 185.5 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3297, allocations: 51.41 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.3301, allocations: 355.2 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3301, allocations: 25.7 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.3302, allocations: 140.1 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3302, allocations: 15.88 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.3303, allocations: 25.7 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3304, allocations: 342.8 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3306, allocations: 95.98 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3308, allocations: 98.75 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.3311, allocations: 212.6 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3311, allocations: 0 / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003741/0.3315, allocations: 249.4 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3315, allocations: 9.406 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3316, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3316, allocations: 0 / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.3317, allocations: 11.98 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3317, allocations: 0 / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.3318, allocations: 15.88 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3318, allocations: 0 / 1.226 GB, free: 7.543 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001293/0.3319, allocations: 150.3 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.332, allocations: 27.8 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.3323, allocations: 142.5 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3323, allocations: 0 / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3323, allocations: 0 / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3323, allocations: 0 / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.3326, allocations: 245.5 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3326, allocations: 0 / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.3327, allocations: 7.984 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3327, allocations: 8.031 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3327, allocations: 0 / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3327, allocations: 0 / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3327, allocations: 0 / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3331, allocations: 239.2 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.3332, allocations: 101 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3332, allocations: 8.016 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.3333, allocations: 8 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3333, allocations: 0 / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3334, allocations: 3.984 kB / 1.227 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003052/0.3337, allocations: 249.9 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3337, allocations: 0 / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003702/0.3341, allocations: 67.92 kB / 1.228 GB, free: 6.211 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.0008527/0.3349, allocations: 0.8291 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.3353, allocations: 159.9 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3353, allocations: 0 / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3355, allocations: 48 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3358, allocations: 12.66 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.339, allocations: 2.738 MB / 1.231 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3394, allocations: 0.7355 MB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.362e-05/0.3394, allocations: 12.56 kB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3395, allocations: 59.41 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3395, allocations: 0 / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3674, allocations: 4.285 MB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.323, allocations: 13.88 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.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_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches