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.001773/0.001773, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.002432/0.002432, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.82 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 3.241/3.241, allocations: 476 MB / 0.7699 GB, free: 4.754 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.00322/0.00322, allocations: 66.66 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.361, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00287/0.3639, allocations: 1.488 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.3642, allocations: 119.7 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.3643, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.3643, allocations: 11.92 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.3644, allocations: 3.938 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3646, allocations: 31.91 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.3647, allocations: 43.84 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3648, allocations: 4 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.3649, allocations: 27.91 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.3649, allocations: 19.92 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3649, allocations: 7.938 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.365, allocations: 35.95 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.3651, allocations: 11.98 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.3651, allocations: 19.88 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3652, allocations: 81.33 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3653, allocations: 0 / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3653, allocations: 0 / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5e-06/0.3653, allocations: 0 / 1.284 GB, free: 10.58 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.0005512/0.3658, allocations: 310.1 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3658, allocations: 8.031 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3659, allocations: 38.75 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.3659, allocations: 4.891 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.366, allocations: 118.4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.366, allocations: 4.375 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3661, allocations: 384 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.3664, allocations: 118.2 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3664, allocations: 3.938 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3664, allocations: 4 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.3664, allocations: 8 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.3668, allocations: 123.9 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3673, allocations: 303.7 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3675, allocations: 58.53 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3677, allocations: 36.92 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.3679, allocations: 47.95 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.368, allocations: 34.56 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.368, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005765/0.3685, allocations: 141.5 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3686, allocations: 59.28 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3688, allocations: 153.8 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3688, allocations: 25.7 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.3689, allocations: 119.8 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.3689, allocations: 11.91 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.3689, allocations: 29.72 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3691, allocations: 318.8 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3693, allocations: 51.89 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3695, allocations: 118.2 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.3699, allocations: 165.2 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3699, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004768/0.3704, allocations: 181.5 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3704, allocations: 10.34 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3704, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3704, allocations: 7.938 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3706, allocations: 31.97 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3706, allocations: 7.938 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3707, allocations: 23.88 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3707, allocations: 12 kB / 1.287 GB, free: 7.684 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.0001115/0.3709, allocations: 126 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3709, allocations: 3.953 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.3713, allocations: 121.9 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3713, allocations: 11.92 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3713, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3713, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3715, allocations: 140.7 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3715, allocations: 288 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3716, allocations: 23.97 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3716, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3716, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3716, allocations: 7.938 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3716, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.372, allocations: 203.4 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.372, allocations: 15.88 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3721, allocations: 8 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3722, allocations: 11.92 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3722, allocations: 4 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3722, allocations: 7.984 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.3723, allocations: 107.3 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3723, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002866/0.3726, allocations: 20 kB / 1.288 GB, free: 6.809 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.0007526/0.3734, allocations: 0.728 MB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.3738, allocations: 107.8 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3738, allocations: 0 / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.374, allocations: 39.89 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3743, allocations: 15.88 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.3749, allocations: 208.1 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.819e-05/0.375, allocations: 75.31 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.368e-05/0.375, allocations: 24.41 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.3751, allocations: 27.44 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.3751, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.4043, allocations: 2.737 MB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.67, allocations: 11.5 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.918542539235204]