Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 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.001239/0.001239, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.327/1.327, 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 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002376, allocations: 71.83 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6325, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002724/0.6353, allocations: 1.481 MB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.6356, allocations: 124.5 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.6357, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.6358, allocations: 7.922 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.6358, allocations: 11.94 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.6361, allocations: 31.91 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.6362, allocations: 43.84 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.6363, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.6363, allocations: 23.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.6364, allocations: 19.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6364, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.6365, allocations: 35.97 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.6366, allocations: 15.97 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.6366, allocations: 31.81 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.6368, allocations: 71.7 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6368, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6368, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6368, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 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.0005208/0.6373, allocations: 383.2 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6374, allocations: 8.031 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.6374, allocations: 38.75 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.6374, allocations: 12.84 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6376, allocations: 172.2 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.6376, allocations: 4.375 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6376, allocations: 4.359 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.6379, allocations: 114.1 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6379, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6379, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.638, allocations: 11.98 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.6384, allocations: 127.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.6388, allocations: 344.6 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.639, allocations: 66.42 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.6392, allocations: 40.91 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.6395, allocations: 121.1 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6395, allocations: 30.56 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6395, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.6401, allocations: 133.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.6402, allocations: 63.34 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.6403, allocations: 143.1 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6403, allocations: 29.64 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.6404, allocations: 119.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.6404, allocations: 11.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.6405, allocations: 33.72 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.6406, allocations: 322.8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.6407, allocations: 43.95 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.641, allocations: 109.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.6413, allocations: 165.2 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6414, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004597/0.6418, allocations: 181.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6418, allocations: 8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6419, allocations: 4.312 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6419, allocations: 7.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.642, allocations: 39.91 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6421, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.6422, allocations: 23.83 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.6422, allocations: 12 kB / 1.022 GB, free: 13.4 MB / 0.7794 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.936e-05/0.6423, allocations: 125.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.6424, allocations: 11.91 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/0.6428, allocations: 109.9 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6428, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6428, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6428, allocations: 288 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.643, allocations: 177.6 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.643, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.6431, allocations: 23.91 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6431, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6431, allocations: 7.922 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6431, allocations: 7.938 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6431, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.6435, allocations: 199.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.6436, allocations: 85 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.6436, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6437, allocations: 15.92 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.6438, allocations: 8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.6438, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.6439, allocations: 108.8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6439, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002758/0.6442, allocations: 20 kB / 1.023 GB, free: 12.4 MB / 0.7794 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.0006918/0.6449, allocations: 0.7357 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.6453, allocations: 104.4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6453, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.6455, allocations: 43.95 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.6458, allocations: 7.922 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.6463, allocations: 203.6 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.6466, allocations: 0.6924 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.6467, allocations: 24.41 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.6468, allocations: 23.42 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6468, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.6695, allocations: 2.154 MB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.682, allocations: 11.41 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches