Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_11_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.007537/0.007537, allocations: 103 kB / 15.74 MB, free: 6.066 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.002119/0.002119, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.669/2.669, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6226, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002454/0.6251, allocations: 1.479 MB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.6254, allocations: 127.6 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.6255, allocations: 0 / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.6255, allocations: 7.922 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.6256, allocations: 11.94 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.6258, allocations: 35.88 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.225e-05/0.6259, allocations: 39.86 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.626, allocations: 11.98 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.626, allocations: 15.98 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.6261, allocations: 23.86 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.6261, allocations: 4 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.6262, allocations: 31.97 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.6262, allocations: 15.98 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.6263, allocations: 31.8 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.6264, allocations: 75.38 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6264, allocations: 0 / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6264, allocations: 3.938 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.6265, allocations: 0 / 1.222 GB, free: 120 kB / 0.9356 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.0005625/0.627, allocations: 387.1 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6271, allocations: 11.97 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.6271, allocations: 38.73 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.6271, allocations: 12.89 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6273, allocations: 172.4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6273, allocations: 8.312 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.6273, allocations: 384 / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.6276, allocations: 114.2 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.6276, allocations: 3.938 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6276, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.6277, allocations: 8 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.6281, allocations: 131.8 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.6285, allocations: 332.7 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.6287, allocations: 66.47 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.6289, allocations: 36.92 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.6292, allocations: 125.1 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.6293, allocations: 34.56 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6293, allocations: 0 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005725/0.6298, allocations: 137.5 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.6299, allocations: 59.34 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.63, allocations: 147.9 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.63, allocations: 29.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.6301, allocations: 119.8 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.6301, allocations: 15.91 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.6302, allocations: 25.7 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6303, allocations: 322.8 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.6305, allocations: 43.95 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.6308, allocations: 119.4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.6312, allocations: 165.2 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6312, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004644/0.6317, allocations: 177.4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6317, allocations: 8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6317, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6317, allocations: 12.19 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.6319, allocations: 39.91 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6319, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.632, allocations: 27.86 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.632, allocations: 8 kB / 1.225 GB, free: 12.91 MB / 0.9512 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.058e-05/0.6321, allocations: 125.7 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.6322, allocations: 7.953 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.6326, allocations: 125.8 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6326, allocations: 4.219 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6326, allocations: 3.938 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6326, allocations: 4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.6328, allocations: 177.6 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6328, allocations: 0 / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.6329, allocations: 15.98 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.633, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.633, allocations: 4 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.633, allocations: 3.938 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.633, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.6334, allocations: 207.4 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.6334, allocations: 81.06 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.6335, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.6336, allocations: 15.92 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.6336, allocations: 11.98 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.6336, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.6337, allocations: 113.5 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6337, allocations: 3.938 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002651/0.634, allocations: 15.98 kB / 1.226 GB, free: 11.9 MB / 0.9512 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.000719/0.6347, allocations: 0.7325 MB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.6352, allocations: 107.8 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6352, allocations: 0.625 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.6353, allocations: 39.97 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.6356, allocations: 7.938 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.6361, allocations: 211.2 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.6365, allocations: 0.6928 MB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.721e-05/0.6366, allocations: 28.41 kB / 1.227 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.6366, allocations: 27.38 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.6366, allocations: 0 / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.6582, allocations: 2.201 MB / 1.23 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.142, allocations: 12.09 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches