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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.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.004637/0.004637, allocations: 100.8 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.001596/0.001596, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2749, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002653/0.2776, allocations: 1.494 MB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.2779, allocations: 119.6 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.278, allocations: 0 / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.278, allocations: 7.922 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.2781, allocations: 7.938 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.2783, allocations: 27.89 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.2784, allocations: 47.84 kB / 1.243 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.2785, allocations: 15.98 kB / 1.243 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.2785, allocations: 15.94 kB / 1.243 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.2786, allocations: 23.91 kB / 1.243 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2786, allocations: 4 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.2787, allocations: 31.97 kB / 1.243 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.2787, allocations: 15.98 kB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.2788, allocations: 23.8 kB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2789, allocations: 75.66 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.279, allocations: 0 / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.115e-06/0.279, allocations: 4 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.279, allocations: 7.938 kB / 1.243 GB, free: 8.27 MB / 0.9981 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.000542/0.2795, allocations: 379.2 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2796, allocations: 8.031 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2796, allocations: 38.73 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.2796, allocations: 4.891 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2798, allocations: 180.2 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2798, allocations: 8.375 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2798, allocations: 8.375 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.2801, allocations: 106.2 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2801, allocations: 3.938 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2802, allocations: 4 kB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.2802, allocations: 15.92 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.2806, allocations: 127.8 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.281, allocations: 340.6 kB / 1.245 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.2813, allocations: 58.53 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2814, allocations: 36.92 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.2817, allocations: 125.1 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2818, allocations: 34.56 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2818, allocations: 0 / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005714/0.2824, allocations: 137.5 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2824, allocations: 59.34 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2826, allocations: 147.8 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2826, allocations: 29.7 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.2827, allocations: 123.8 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.2827, allocations: 11.91 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.2828, allocations: 25.72 kB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2829, allocations: 318.8 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2831, allocations: 51.95 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2833, allocations: 113.4 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.2837, allocations: 169.2 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2838, allocations: 4 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004764/0.2842, allocations: 185.2 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2843, allocations: 8 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2843, allocations: 0 / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2843, allocations: 8.172 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2845, allocations: 35.97 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2845, allocations: 320 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2846, allocations: 31.88 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2846, allocations: 15.92 kB / 1.246 GB, free: 5.059 MB / 0.9981 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 9.751e-05/0.2848, allocations: 118.4 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2848, allocations: 11.94 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.2852, allocations: 125.8 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2852, allocations: 3.938 kB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2852, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2852, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2854, allocations: 177.6 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2854, allocations: 0 / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2855, allocations: 19.98 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2856, allocations: 0 / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2856, allocations: 0 / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2856, allocations: 7.938 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2856, allocations: 4 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.286, allocations: 199.4 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.286, allocations: 89 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2861, allocations: 0 / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2862, allocations: 15.92 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.2862, allocations: 11.92 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2862, allocations: 4 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.2863, allocations: 105.6 kB / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2863, allocations: 0 / 1.247 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002634/0.2866, allocations: 16 kB / 1.247 GB, free: 4.062 MB / 0.9981 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.0007237/0.2873, allocations: 0.7319 MB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2878, allocations: 115.8 kB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2878, allocations: 0 / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2879, allocations: 31.97 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2882, allocations: 16.5 kB / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.2887, allocations: 215.3 kB / 1.248 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.289, allocations: 0.6885 MB / 1.249 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.175e-05/0.2891, allocations: 24.41 kB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.2892, allocations: 23.44 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2892, allocations: 0 / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.3113, allocations: 2.194 MB / 1.251 GB, free: 12 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.778, allocations: 14.72 kB / 1.251 GB, free: 0 / 0.9981 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 400 --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