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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 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.001175/0.001175, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.316/2.316, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.6423, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00236/0.6447, allocations: 1.484 MB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.645, allocations: 121.9 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.645, allocations: 0.9062 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.6451, allocations: 7.922 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.6451, allocations: 10.78 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.6454, allocations: 31.92 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.6454, allocations: 42 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.6455, allocations: 8.875 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.6456, allocations: 18.86 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.6456, allocations: 24.69 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.6457, allocations: 3.625 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.6457, allocations: 38.69 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.6458, allocations: 16.14 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.6458, allocations: 24.12 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.6459, allocations: 73.39 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.646, allocations: 0 / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.646, allocations: 0 / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.646, allocations: 0 / 0.9516 GB, free: 7.715 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.0004364/0.6464, allocations: 382.8 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.6464, allocations: 17.47 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.6465, allocations: 37.22 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.6465, allocations: 7.562 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.6466, allocations: 174.9 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.6466, allocations: 1.719 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.6466, allocations: 2.719 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.6469, allocations: 113.9 kB / 0.9523 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.6469, allocations: 3.938 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6469, allocations: 4 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.647, allocations: 16.83 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.6473, allocations: 117.4 kB / 0.9524 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.6476, allocations: 342.9 kB / 0.9527 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.6478, allocations: 61.59 kB / 0.9528 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.648, allocations: 36.45 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.6483, allocations: 130.4 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.6483, allocations: 31.62 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6483, allocations: 0 / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005208/0.6488, allocations: 137.1 kB / 0.9531 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.6488, allocations: 56.78 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.6489, allocations: 146.5 kB / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.6489, allocations: 25.7 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.649, allocations: 120.8 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.649, allocations: 18.75 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.6491, allocations: 27.56 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.6491, allocations: 320.3 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.6493, allocations: 49.58 kB / 0.9538 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.6494, allocations: 117.4 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.6498, allocations: 168.5 kB / 0.9541 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6498, allocations: 1.406 kB / 0.9541 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000405/0.6502, allocations: 175 kB / 0.9543 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6502, allocations: 12.06 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6502, allocations: 2.531 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6503, allocations: 6.562 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6504, allocations: 42.28 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6504, allocations: 3.25 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.6505, allocations: 26.92 kB / 0.9544 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.6506, allocations: 10.81 kB / 0.9544 GB, free: 5.156 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 6.083e-05/0.6506, allocations: 133.5 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.6507, allocations: 7.312 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.651, allocations: 117.4 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.651, allocations: 4.906 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6511, allocations: 5.141 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6511, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.6512, allocations: 173.3 kB / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6512, allocations: 1.062 kB / 0.9548 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.6513, allocations: 19.44 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.6513, allocations: 0 / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.6513, allocations: 1.438 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6513, allocations: 3.938 kB / 0.9548 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.6513, allocations: 4 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.6517, allocations: 202.9 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.6517, allocations: 79.52 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.6517, allocations: 1.188 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.6518, allocations: 17.67 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.6519, allocations: 14.17 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.6519, allocations: 3.625 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.6519, allocations: 107.7 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6519, allocations: 3.938 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002762/0.6522, allocations: 14.56 kB / 0.9553 GB, free: 4.324 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.0005057/0.6527, allocations: 0.732 MB / 0.956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.6531, allocations: 111.5 kB / 0.9561 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6531, allocations: 0 / 0.9561 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6533, allocations: 38.52 kB / 0.9561 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.6535, allocations: 12.41 kB / 0.9561 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.654, allocations: 217.1 kB / 0.9563 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.6541, allocations: 0.6885 MB / 0.957 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.68e-05/0.6542, allocations: 26.03 kB / 0.957 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.6543, allocations: 30.66 kB / 0.9571 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6543, allocations: 0 / 0.9571 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.6725, allocations: 2.144 MB / 0.9592 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.595, allocations: 5.359 kB / 0.9592 GB, free: 1.457 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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