Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_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.001269/0.001272, 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.001148/0.001148, allocations: 191.1 kB / 16.25 MB, free: 6.645 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.3 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4917, allocations: 140.4 MB / 0.9492 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001974/0.4937, allocations: 1.533 MB / 0.9507 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.494, allocations: 126.6 kB / 0.9509 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.494, allocations: 0 / 0.9509 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.494, allocations: 3.984 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.4941, allocations: 10.67 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.4943, allocations: 28.16 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.4943, allocations: 37.8 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.4944, allocations: 13.34 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.4944, allocations: 17.33 kB / 0.951 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.4945, allocations: 23.19 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4945, allocations: 3 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.4946, allocations: 35.28 kB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.4946, allocations: 15.95 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.4946, allocations: 32.94 kB / 0.9511 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.4947, allocations: 71.7 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4948, allocations: 1.562 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4948, allocations: 3.938 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.4948, allocations: 4 kB / 0.9511 GB, free: 7.727 MB / 0.7169 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.0003743/0.4951, allocations: 382.2 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.4952, allocations: 10.66 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.4952, allocations: 39.86 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.4952, allocations: 7.438 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.4953, allocations: 176.2 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4953, allocations: 5.562 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4953, allocations: 1.5 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.4956, allocations: 114.3 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4956, allocations: 3.938 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.4956, allocations: 0 / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.4956, allocations: 16.86 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.4959, allocations: 117.2 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.4962, allocations: 342.7 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4964, allocations: 61.91 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4965, allocations: 36.14 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.4968, allocations: 122.9 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.4968, allocations: 40.06 kB / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4968, allocations: 0 / 0.9526 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004498/0.4972, allocations: 136.5 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.4973, allocations: 56.53 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.4973, allocations: 151.7 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.4974, allocations: 25.7 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.4974, allocations: 125.5 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.4974, allocations: 13.31 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.4975, allocations: 27.06 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.224e-05/0.4975, allocations: 329.6 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4976, allocations: 50.08 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.4978, allocations: 111.5 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4981, allocations: 164.9 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4981, allocations: 1.344 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003584/0.4985, allocations: 182.9 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4985, allocations: 6.531 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4985, allocations: 3 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4985, allocations: 6.531 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4987, allocations: 37.59 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4987, allocations: 8.109 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.4988, allocations: 30.73 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4988, allocations: 10.64 kB / 0.954 GB, free: 5.16 MB / 0.7169 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 4.95e-05/0.4989, allocations: 124.5 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.4989, allocations: 7.312 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.4992, allocations: 118.9 kB / 0.9542 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.4992, allocations: 3.938 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4992, allocations: 1.312 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4992, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.4993, allocations: 178.8 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4993, allocations: 0 / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.4994, allocations: 22.98 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4994, allocations: 0 / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.4995, allocations: 1.312 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4995, allocations: 7.875 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4995, allocations: 1.281 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4998, allocations: 203 kB / 0.9546 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.4998, allocations: 78.42 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4998, allocations: 1.156 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.4999, allocations: 14.52 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.4999, allocations: 9.891 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4999, allocations: 3.125 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.5, allocations: 109.8 kB / 0.9548 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5, allocations: 3.938 kB / 0.9548 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002382/0.5002, allocations: 14.72 kB / 0.9548 GB, free: 4.34 MB / 0.7169 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.0004321/0.5007, allocations: 0.7323 MB / 0.9555 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.501, allocations: 114.3 kB / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.501, allocations: 1.344 kB / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5012, allocations: 37.33 kB / 0.9557 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.5014, allocations: 16.22 kB / 0.9557 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.5018, allocations: 228.8 kB / 0.9559 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.5019, allocations: 0.6904 MB / 0.9566 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.678e-05/0.502, allocations: 29.03 kB / 0.9566 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.502, allocations: 19.56 kB / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.502, allocations: 0 / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.253/2.755, allocations: 1.966 MB / 0.9586 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/2.755, allocations: 184.2 kB / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/4.344, allocations: 0 / 0.9587 GB, free: 1.379 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches