Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.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.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.62 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2901, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003593/0.2938, allocations: 1.495 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.2941, allocations: 111.7 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.2942, allocations: 4 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.2943, allocations: 7.922 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2944, allocations: 7.875 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2946, allocations: 31.95 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2948, allocations: 51.78 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2949, allocations: 8 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.295, allocations: 15.92 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.295, allocations: 27.91 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.295, allocations: 4 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.2951, allocations: 31.97 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.2952, allocations: 19.92 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2952, allocations: 23.88 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2954, allocations: 71.77 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2954, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2954, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.2955, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006018/0.2961, allocations: 383.5 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2961, allocations: 12.03 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.2962, allocations: 30.75 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2962, allocations: 12.84 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2963, allocations: 180.3 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2964, allocations: 384 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2964, allocations: 4.375 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.2967, allocations: 106.1 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2967, allocations: 11.92 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2967, allocations: 7.938 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.2968, allocations: 11.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.2971, allocations: 121.2 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2975, allocations: 348.5 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2978, allocations: 58.53 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.2979, allocations: 36.92 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/0.2982, allocations: 133.2 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2983, allocations: 30.56 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.2983, allocations: 0 / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.2988, allocations: 141.4 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2989, allocations: 55.34 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.299, allocations: 143.3 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2991, allocations: 29.7 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.2991, allocations: 119.6 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2991, allocations: 15.89 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.2992, allocations: 21.72 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.2993, allocations: 326.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2995, allocations: 43.95 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2997, allocations: 121.3 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3001, allocations: 157.2 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3001, allocations: 4 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004674/0.3005, allocations: 189.2 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3006, allocations: 4 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.3006, allocations: 4.312 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3006, allocations: 11.94 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3008, allocations: 31.97 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3008, allocations: 7.938 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3009, allocations: 27.83 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3009, allocations: 8 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 8.306e-05/0.301, allocations: 121.8 kB / 1.068 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.3011, allocations: 7.906 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.3015, allocations: 121.8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3015, allocations: 7.875 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3015, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3015, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3017, allocations: 173.6 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3017, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.3018, allocations: 19.97 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3018, allocations: 288 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3018, allocations: 0 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3018, allocations: 3.938 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3018, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.3022, allocations: 213 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.3022, allocations: 89 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3023, allocations: 0 / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3024, allocations: 15.86 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3024, allocations: 8 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3024, allocations: 8 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.3025, allocations: 108.7 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002679/0.3028, allocations: 16 kB / 1.069 GB, free: 8.379 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 (3): * Single equations (assignments): 3 * 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.0006782/0.3035, allocations: 0.7324 MB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.3039, allocations: 103.8 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3039, allocations: 0.625 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3041, allocations: 47.89 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3044, allocations: 13.34 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.3049, allocations: 199.5 kB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3051, allocations: 0.6928 MB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.3052, allocations: 24.42 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.3053, allocations: 27.42 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3053, allocations: 0 / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.3233, allocations: 2.146 MB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.437, allocations: 12.8 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches