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.004823/0.004823, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001246/0.001246, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.129/2.129, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7443, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002138/0.7465, allocations: 1.481 MB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.7468, allocations: 127.7 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.7468, allocations: 1.094 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.7469, allocations: 4.688 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.747, allocations: 11.5 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.7472, allocations: 30.55 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.7472, allocations: 47.38 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.7473, allocations: 6.719 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.7474, allocations: 20.88 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.7474, allocations: 20.28 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.7475, allocations: 8.125 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.7475, allocations: 40.25 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.7476, allocations: 14.83 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.7476, allocations: 24.38 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.7478, allocations: 75.3 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7478, allocations: 0 / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7478, allocations: 1.125 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7478, allocations: 0 / 1.089 GB, free: 4.012 MB / 0.8575 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.0004328/0.7482, allocations: 386.2 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7483, allocations: 9.969 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.7483, allocations: 37.67 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.7483, allocations: 4.281 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.669e-05/0.7484, allocations: 176.6 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.7484, allocations: 1.562 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7484, allocations: 7.172 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.7487, allocations: 116.2 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7487, allocations: 3.938 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.7488, allocations: 4.609 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.7488, allocations: 10.12 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.7492, allocations: 119.8 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.7495, allocations: 348.6 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.7497, allocations: 61.7 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.7499, allocations: 36.41 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.7502, allocations: 123.5 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.7502, allocations: 35.56 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.7502, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005631/0.7508, allocations: 144.9 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.7508, allocations: 59.34 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.7509, allocations: 144.8 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.7509, allocations: 25.7 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.751, allocations: 125.2 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.751, allocations: 10.28 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.751, allocations: 34.67 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.7511, allocations: 319.3 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.7513, allocations: 42.12 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7515, allocations: 118.2 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.7518, allocations: 168.6 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7518, allocations: 0.875 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004492/0.7523, allocations: 182.3 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.7523, allocations: 9.375 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7523, allocations: 3.484 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7524, allocations: 7.656 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.7525, allocations: 32.56 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7526, allocations: 8.188 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.7527, allocations: 27.72 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.7527, allocations: 7.125 kB / 1.092 GB, free: 1.715 MB / 0.8575 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.312e-05/0.7528, allocations: 126.5 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.7528, allocations: 8.312 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.7532, allocations: 115.8 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.7532, allocations: 8.625 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7532, allocations: 0.9062 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7532, allocations: 0.6562 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.7534, allocations: 177 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7534, allocations: 0.7188 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.7535, allocations: 15.73 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7535, allocations: 1.391 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7535, allocations: 0.6875 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7535, allocations: 4.656 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7535, allocations: 5.328 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.7539, allocations: 204.7 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.7539, allocations: 87.72 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.7539, allocations: 0.9688 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.754, allocations: 20.08 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.7541, allocations: 3.75 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.7541, allocations: 2.875 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.7542, allocations: 108.8 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7542, allocations: 4.938 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000273/0.7544, allocations: 19.42 kB / 1.093 GB, free: 0.9609 MB / 0.8575 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.0006024/0.755, allocations: 0.7315 MB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.7555, allocations: 107.6 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7555, allocations: 0 / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.7556, allocations: 35.7 kB / 1.094 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7559, allocations: 12.55 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.7564, allocations: 209.5 kB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.7567, allocations: 0.6953 MB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.29e-05/0.7568, allocations: 24.14 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.7568, allocations: 26.08 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7568, allocations: 0.875 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.7741, allocations: 2.186 MB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.146, allocations: 13.7 kB / 1.097 GB, free: 14.91 MB / 0.8731 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