Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001505/0.001505, 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.001467/0.001467, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_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.00277/0.00277, allocations: 69.06 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4148, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002898/0.4177, allocations: 1.501 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.4181, allocations: 115.7 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.4181, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.4182, allocations: 3.938 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.4183, allocations: 15.91 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.4185, allocations: 31.91 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.4186, allocations: 43.84 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4187, allocations: 8 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.4188, allocations: 11.98 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.4188, allocations: 27.86 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4188, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4189, allocations: 39.89 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.419, allocations: 15.98 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.419, allocations: 23.86 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.4192, allocations: 71.89 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4192, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4192, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4192, allocations: 4 kB / 1.365 GB, free: 12.11 MB / 1.061 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.0005963/0.4198, allocations: 310.1 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4198, allocations: 8.031 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.4199, allocations: 38.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.4202, allocations: 40.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4203, allocations: 114.5 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4203, allocations: 384 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4203, allocations: 4.375 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.4206, allocations: 114.2 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4207, allocations: 7.875 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4207, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.4207, allocations: 8 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.4211, allocations: 127.8 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.4217, allocations: 323.2 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.4219, allocations: 62.55 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.4221, allocations: 52.89 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4221, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4221, allocations: 38.5 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.4221, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005837/0.4227, allocations: 149.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4228, allocations: 59.28 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4229, allocations: 152.3 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4229, allocations: 25.7 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.423, allocations: 119.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.4231, allocations: 7.953 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.4231, allocations: 29.67 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4233, allocations: 322.8 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4235, allocations: 47.95 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.4237, allocations: 129.3 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.4241, allocations: 177.2 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4241, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004527/0.4246, allocations: 189.3 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4246, allocations: 8 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4246, allocations: 0 / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.4246, allocations: 7.938 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.4248, allocations: 39.91 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4248, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.425, allocations: 28.17 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.425, allocations: 16 kB / 1.368 GB, free: 9.137 MB / 1.061 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.0001029/0.4251, allocations: 114.9 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.4251, allocations: 7.953 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.4252, allocations: 20.33 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4252, allocations: 7.875 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4252, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4252, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.4254, allocations: 144.7 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4254, allocations: 3.984 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.4255, allocations: 15.98 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4255, allocations: 4 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.4255, allocations: 0 / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4255, allocations: 3.938 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4255, allocations: 3.938 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.4259, allocations: 211.4 kB / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.4259, allocations: 7.891 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.426, allocations: 12 kB / 1.368 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4261, allocations: 11.92 kB / 1.368 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4261, allocations: 7.984 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4261, allocations: 0 / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.4262, allocations: 109.2 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4262, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002512/0.4265, allocations: 16 kB / 1.369 GB, free: 8.375 MB / 1.061 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.000724/0.4272, allocations: 0.7362 MB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.4276, allocations: 111.8 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4276, allocations: 0.625 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4278, allocations: 47.95 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.428, allocations: 7.938 kB / 1.369 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.4287, allocations: 211.5 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.4288, allocations: 75.31 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.4289, allocations: 32.34 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.4289, allocations: 15.44 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4289, allocations: 4 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.46, allocations: 2.713 MB / 1.372 GB, free: 4.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.73, allocations: 15.66 kB / 1.372 GB, free: 4.477 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.091072654817253]