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.001832/0.001832, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002146/0.002146, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.573/1.573, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.845/2.845, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 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="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.002022/0.002022, allocations: 75.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003474/1.075, allocations: 1.508 MB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000498/1.075, allocations: 124.6 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/1.075, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.4e-05/1.075, allocations: 5.859 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/1.076, allocations: 10.97 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/1.076, allocations: 34.22 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/1.076, allocations: 47.86 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/1.076, allocations: 4.469 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/1.076, allocations: 22.69 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/1.076, allocations: 19.64 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/1.076, allocations: 4.281 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/1.076, allocations: 36.25 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/1.077, allocations: 19.3 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/1.077, allocations: 22.28 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/1.077, allocations: 77.62 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.077, allocations: 3.938 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/1.077, allocations: 4 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.874e-06/1.077, allocations: 1.094 kB / 1.281 GB, free: 10.48 MB / 0.9981 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.00073/1.078, allocations: 379.2 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.078, allocations: 9.656 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/1.078, allocations: 2.047 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/1.078, allocations: 38.03 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/1.078, allocations: 9.031 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.078, allocations: 184 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/1.078, allocations: 2.531 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/1.078, allocations: 1.469 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/1.078, allocations: 115.3 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.078, allocations: 0 / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.078, allocations: 1.156 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/1.078, allocations: 9.891 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/1.079, allocations: 131.4 kB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/1.079, allocations: 345 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/1.08, allocations: 55.38 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.08, allocations: 40.62 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/1.08, allocations: 123.1 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.08, allocations: 36.31 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/1.08, allocations: 0.5 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0007441/1.081, allocations: 143.7 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/1.081, allocations: 51.91 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.081, allocations: 154 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/1.081, allocations: 27.06 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.081, allocations: 117 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/1.081, allocations: 11.38 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.081, allocations: 33.66 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.082, allocations: 319.6 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.082, allocations: 46.09 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/1.082, allocations: 119.3 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/1.082, allocations: 168.3 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.082, allocations: 0 / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005194/1.083, allocations: 181.9 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.083, allocations: 5.719 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.083, allocations: 3.844 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.083, allocations: 6.875 kB / 1.284 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/1.083, allocations: 40.84 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.083, allocations: 4.609 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/1.083, allocations: 26.48 kB / 1.284 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.083, allocations: 8.078 kB / 1.284 GB, free: 8.184 MB / 0.9981 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/1.084, allocations: 122.8 kB / 1.284 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/1.084, allocations: 2.969 kB / 1.284 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/1.084, allocations: 129.4 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.084, allocations: 288 / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.084, allocations: 1.469 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.084, allocations: 0.6094 kB / 1.284 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/1.084, allocations: 176.8 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.084, allocations: 7.984 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/1.084, allocations: 21.11 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.084, allocations: 0 / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.084, allocations: 5.828 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.084, allocations: 0 / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.084, allocations: 1.438 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/1.085, allocations: 196.5 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.085, allocations: 79.53 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.085, allocations: 9.953 kB / 1.284 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.085, allocations: 19.45 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/1.085, allocations: 4.75 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.085, allocations: 6.438 kB / 1.284 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00011/1.085, allocations: 110.4 kB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.085, allocations: 0 / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002892/1.085, allocations: 23.91 kB / 1.285 GB, free: 7.426 MB / 0.9981 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.0009001/1.086, allocations: 0.7274 MB / 1.285 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004521/1.087, allocations: 105.2 kB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.087, allocations: 5.125 kB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/1.087, allocations: 39.12 kB / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.087, allocations: 10.8 kB / 1.285 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/1.088, allocations: 221.5 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.088, allocations: 0.6911 MB / 1.286 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.499e-05/1.088, allocations: 24.28 kB / 1.286 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/1.088, allocations: 31.09 kB / 1.286 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.088, allocations: 0 / 1.286 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/1.109, allocations: 2.245 MB / 1.289 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/9.637, allocations: 4.344 kB / 1.289 GB, free: 5.34 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.17515586700756]