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.001308/0.001308, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001632/0.001632, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.779/2.779, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",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.001985/0.001985, allocations: 64.69 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3178, allocations: 169.9 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003067/0.3209, allocations: 1.498 MB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.3213, allocations: 119.7 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.3213, allocations: 0 / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.441e-05/0.3214, allocations: 7.938 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.3214, allocations: 7.922 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3217, allocations: 31.89 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.3218, allocations: 39.86 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.3219, allocations: 11.98 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.3219, allocations: 15.98 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.322, allocations: 27.86 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.322, allocations: 4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.3221, allocations: 35.97 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.3221, allocations: 15.97 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.3222, allocations: 19.86 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3223, allocations: 83.12 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3223, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3223, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3224, allocations: 0 / 1.286 GB, free: 8.688 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.0005743/0.3229, allocations: 310.1 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.323, allocations: 8.031 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.323, allocations: 8.188 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.323, allocations: 38.73 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3231, allocations: 8.891 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3232, allocations: 114.4 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3232, allocations: 8.312 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3232, allocations: 4.375 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.3235, allocations: 107.6 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3235, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3236, allocations: 11.98 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.3236, allocations: 11.98 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.3239, allocations: 115.9 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3245, allocations: 303.8 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3247, allocations: 58.47 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.3248, allocations: 40.92 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.3251, allocations: 51.94 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3251, allocations: 30.56 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3252, allocations: 3.938 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005367/0.3257, allocations: 141.4 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3257, allocations: 55.39 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3259, allocations: 148 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3259, allocations: 25.7 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.326, allocations: 123.9 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.326, allocations: 11.89 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.3261, allocations: 37.66 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3262, allocations: 318.8 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3264, allocations: 43.95 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3266, allocations: 113.4 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.327, allocations: 173.2 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.327, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004439/0.3274, allocations: 173.4 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3274, allocations: 8 kB / 1.288 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3274, allocations: 0 / 1.288 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3275, allocations: 7.938 kB / 1.288 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3276, allocations: 43.91 kB / 1.288 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3276, allocations: 4 kB / 1.288 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3277, allocations: 20.19 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3278, allocations: 12 kB / 1.289 GB, free: 5.785 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.0001081/0.3279, allocations: 131.1 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3279, allocations: 7.953 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.3283, allocations: 117.9 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3283, allocations: 3.938 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3283, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3283, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3285, allocations: 144.7 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3285, allocations: 8 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.3286, allocations: 11.98 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3286, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3286, allocations: 7.938 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3286, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3286, allocations: 3.984 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.329, allocations: 199.8 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.329, allocations: 7.953 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.329, allocations: 3.938 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3291, allocations: 11.98 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3292, allocations: 7.984 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3292, allocations: 11.94 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.3293, allocations: 111.2 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 0 / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000275/0.3296, allocations: 23.88 kB / 1.289 GB, free: 4.906 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.0007222/0.3303, allocations: 0.7241 MB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3307, allocations: 115.7 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3307, allocations: 0 / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3308, allocations: 31.97 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3312, allocations: 19.05 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.3317, allocations: 207.5 kB / 1.29 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.629e-05/0.3318, allocations: 75.83 kB / 1.29 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.556e-05/0.3319, allocations: 28.34 kB / 1.29 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.332, allocations: 27.42 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.332, allocations: 0 / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3641, allocations: 2.417 MB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12, allocations: 8.5 kB / 1.293 GB, free: 1.336 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.72898353403434]