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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001813/0.001813, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002063/0.002063, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3879, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003401/0.3914, allocations: 1.53 MB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3928, allocations: 0.7907 MB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.3929, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.3931, allocations: 139.7 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.3937, allocations: 178.8 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3939, allocations: 67.89 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3941, allocations: 63.81 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.3942, allocations: 7.984 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.3942, allocations: 39.89 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3944, allocations: 83.84 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3944, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.3948, allocations: 227.6 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.395, allocations: 107.7 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3951, allocations: 103.2 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.3956, allocations: 335.2 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3956, allocations: 4 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3956, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3956, allocations: 0 / 1.056 GB, free: 4.973 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.0009102/0.3965, allocations: 0.6068 MB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.3966, allocations: 8.625 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.3967, allocations: 30.75 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.3967, allocations: 44.45 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009141/0.3977, allocations: 0.9122 MB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3977, allocations: 4.312 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3977, allocations: 4.375 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3979, allocations: 85.78 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3979, allocations: 3.984 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3979, allocations: 0 / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.398, allocations: 0 / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.3982, allocations: 103.9 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.399, allocations: 0.5787 MB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3992, allocations: 106.5 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3994, allocations: 52.89 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.3994, allocations: 31.92 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3995, allocations: 30.56 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3995, allocations: 3.938 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005259/0.4, allocations: 217.1 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4, allocations: 55.34 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.4013, allocations: 1.209 MB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4013, allocations: 29.7 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4015, allocations: 180.1 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.4015, allocations: 7.844 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.4016, allocations: 17.72 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4017, allocations: 350.7 kB / 1.061 GB, free: 108 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4019, allocations: 47.97 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.402, allocations: 55.97 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.4022, allocations: 100.8 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4022, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003304/0.4025, allocations: 161.2 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4026, allocations: 4 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4026, allocations: 7.938 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4026, allocations: 4.094 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.4027, allocations: 7.984 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4027, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.4028, allocations: 11.98 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4028, allocations: 0 / 1.061 GB, free: 15.7 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.0002152/0.403, allocations: 169.7 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.4031, allocations: 31.53 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4034, allocations: 172.1 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4034, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4034, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4035, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.4037, allocations: 297.5 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4038, allocations: 0 / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.4038, allocations: 15.92 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4038, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4038, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4039, allocations: 4.031 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4039, allocations: 0 / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.4043, allocations: 259 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4044, allocations: 128.6 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.4044, allocations: 3.938 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4046, allocations: 16.02 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4046, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4046, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009043/0.4055, allocations: 0.9558 MB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4055, allocations: 0 / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003851/0.4059, allocations: 72 kB / 1.063 GB, free: 13.49 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.0008698/0.4068, allocations: 0.8447 MB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.4071, allocations: 103.9 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4071, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4073, allocations: 59.89 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.4077, allocations: 26.97 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.4149, allocations: 6.849 MB / 1.071 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4153, allocations: 0.7791 MB / 1.071 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.4154, allocations: 42.92 kB / 1.071 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.4156, allocations: 91.41 kB / 1.072 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.4156, allocations: 0 / 1.072 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.793/3.209, allocations: 6.905 MB / 1.078 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/3.209, allocations: 204.3 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/6.92, allocations: 4 kB / 1.078 GB, free: 13.53 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