Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_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.004919/0.004919, allocations: 102 kB / 15.73 MB, free: 6.062 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.001228/0.001228, allocations: 192 kB / 16.67 MB, free: 5.973 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7865, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002534/0.789, allocations: 1.495 MB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.7902, allocations: 0.7361 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.7903, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.7905, allocations: 127.8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.7906, allocations: 71.77 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.7912, allocations: 188.9 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.7913, allocations: 67.8 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.7914, allocations: 4 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.7914, allocations: 39.89 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.7916, allocations: 75.86 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.7916, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.792, allocations: 231.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.19e-05/0.7921, allocations: 59.81 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.7921, allocations: 55.48 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.7925, allocations: 270.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7925, allocations: 7.938 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7925, allocations: 7.938 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7925, allocations: 0 / 1.224 GB, free: 14.6 MB / 0.9512 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.0006462/0.7932, allocations: 0.5096 MB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7932, allocations: 12.03 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.7933, allocations: 30.75 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.7933, allocations: 24.75 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.7936, allocations: 256 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7936, allocations: 384 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.7936, allocations: 4.375 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.7938, allocations: 85.78 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7938, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.7938, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.7938, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.7941, allocations: 87.88 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.7946, allocations: 400.7 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.7948, allocations: 90.53 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.7949, allocations: 48.89 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.795, allocations: 19.97 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.795, allocations: 30.56 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.795, allocations: 4 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004278/0.7954, allocations: 177.4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.7955, allocations: 59.39 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.7958, allocations: 351.2 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.7959, allocations: 29.64 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.796, allocations: 144.1 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.796, allocations: 7.953 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.796, allocations: 29.7 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7962, allocations: 338.8 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.7964, allocations: 95.94 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.7965, allocations: 91.95 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.7968, allocations: 216.7 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7969, allocations: 3.938 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003761/0.7972, allocations: 255.8 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7973, allocations: 4 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7973, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7973, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.7974, allocations: 11.98 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7974, allocations: 0 / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.7975, allocations: 19.88 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.7975, allocations: 0 / 1.227 GB, free: 10.99 MB / 0.9512 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.0001185/0.7976, allocations: 147.9 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.7976, allocations: 19.86 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.7979, allocations: 150.5 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.798, allocations: 0 / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.798, allocations: 96 / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.798, allocations: 8.016 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.7982, allocations: 245.5 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7982, allocations: 0 / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.7983, allocations: 7.984 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7983, allocations: 0 / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.7983, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7983, allocations: 0 / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7983, allocations: 0 / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.7987, allocations: 239.2 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.7987, allocations: 105 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7988, allocations: 0 / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.7989, allocations: 8 kB / 1.228 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.7989, allocations: 3.984 kB / 1.228 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.7989, allocations: 0 / 1.228 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002416/0.7992, allocations: 249.9 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7992, allocations: 4.031 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003222/0.7995, allocations: 63.92 kB / 1.228 GB, free: 9.668 MB / 0.9512 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.0007934/0.8003, allocations: 0.8219 MB / 1.229 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.8006, allocations: 167.8 kB / 1.229 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8006, allocations: 0 / 1.229 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.8008, allocations: 51.95 kB / 1.229 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.8011, allocations: 14.69 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.8041, allocations: 2.724 MB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.8045, allocations: 0.7372 MB / 1.232 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.8045, allocations: 20.55 kB / 1.232 GB, free: 5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.8046, allocations: 55.42 kB / 1.233 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.8046, allocations: 3.938 kB / 1.233 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/0.856, allocations: 4.277 MB / 1.237 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.16, allocations: 18.72 kB / 1.237 GB, free: 0.7734 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches