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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 207.1 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 66.05 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3915, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003031/0.3945, allocations: 1.503 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.3949, allocations: 115.7 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.3949, allocations: 0 / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.395, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.3951, allocations: 15.92 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3953, allocations: 31.89 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3954, allocations: 43.86 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3955, allocations: 7.984 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.3956, allocations: 8 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.3956, allocations: 27.84 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3956, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3957, allocations: 39.91 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.3958, allocations: 15.97 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3958, allocations: 19.88 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.396, allocations: 77.34 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.396, allocations: 0 / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.396, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.396, allocations: 3.938 kB / 1.284 GB, free: 10.59 MB / 0.9825 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.000609/0.3966, allocations: 306.1 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3967, allocations: 8.031 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.3967, allocations: 34.75 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3968, allocations: 8.891 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3969, allocations: 134.3 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3969, allocations: 384 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3969, allocations: 4.375 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3973, allocations: 106.2 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3973, allocations: 3.938 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3973, allocations: 4 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.3973, allocations: 15.98 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.3977, allocations: 119.9 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.3982, allocations: 311.7 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3984, allocations: 50.55 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3986, allocations: 40.91 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.3988, allocations: 43.97 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3989, allocations: 30.56 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3989, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000564/0.3994, allocations: 141.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3995, allocations: 55.34 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3996, allocations: 155.9 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3997, allocations: 29.7 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.3997, allocations: 119.8 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3998, allocations: 11.84 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.3998, allocations: 37.7 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4, allocations: 318.8 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.4001, allocations: 39.95 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4003, allocations: 118.6 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.4007, allocations: 169.2 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4007, allocations: 0 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004389/0.4012, allocations: 177.3 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4012, allocations: 8 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4012, allocations: 4.312 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4012, allocations: 11.92 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4014, allocations: 35.98 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4014, allocations: 7.938 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4015, allocations: 23.86 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.4015, allocations: 8 kB / 1.287 GB, free: 7.691 MB / 0.9825 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 0.0001161/0.4016, allocations: 121.8 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.4017, allocations: 7.953 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.4021, allocations: 121.9 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4021, allocations: 8.156 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4021, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4021, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4023, allocations: 156.7 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4023, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.4024, allocations: 11.98 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4024, allocations: 4 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.4024, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4024, allocations: 3.938 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4024, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.4029, allocations: 207.4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.4029, allocations: 11.95 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4029, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.403, allocations: 19.92 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4031, allocations: 3.984 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4031, allocations: 7.938 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.4032, allocations: 106.4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4032, allocations: 0 / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.4034, allocations: 19.98 kB / 1.288 GB, free: 6.816 MB / 0.9825 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.0008542/0.4043, allocations: 0.7358 MB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.4047, allocations: 100.4 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4047, allocations: 4 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4048, allocations: 31.97 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.4052, allocations: 11.94 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.4058, allocations: 211.4 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.4059, allocations: 75.33 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.422e-05/0.4059, allocations: 28.41 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.406, allocations: 19.44 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.406, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.4402, allocations: 2.747 MB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.05, allocations: 12.66 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB " [Timeout remaining time 287] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable bicubic.y in file Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.csv. Warning: Get data of variable bicubic.y from file Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.126606925856322]