Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001748/0.001748, allocations: 113 kB / 18.94 MB, free: 2.934 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.002417/0.002417, allocations: 208.2 kB / 22.25 MB, free: 5.086 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.004 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.711/2.711, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.002085/0.002085, allocations: 64.31 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00242/0.3435, allocations: 1.33 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004794/0.3483, allocations: 3.859 MB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3483, allocations: 0 / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.3483, allocations: 3.938 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.3488, allocations: 103.5 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3492, allocations: 135.5 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.3493, allocations: 31.84 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.3493, allocations: 4 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3494, allocations: 23.86 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3495, allocations: 39.89 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.3495, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.35, allocations: 315.6 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.35, allocations: 7.922 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.3501, allocations: 7.984 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3503, allocations: 119.2 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3503, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3503, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3503, allocations: 0 / 1.289 GB, free: 5.734 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000387/0.3507, allocations: 285.9 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3507, allocations: 12.02 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.3507, allocations: 30.75 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.3508, allocations: 8.938 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3509, allocations: 118.4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3509, allocations: 384 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3509, allocations: 4.375 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.351, allocations: 37.64 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.351, allocations: 0 / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.351, allocations: 3.984 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.351, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.351, allocations: 4 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.3512, allocations: 128.8 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.3513, allocations: 26.53 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.3513, allocations: 8.922 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3515, allocations: 27.92 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3515, allocations: 38.56 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3515, allocations: 0 / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.3517, allocations: 45.69 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3517, allocations: 51.41 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.3518, allocations: 97.84 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3518, allocations: 25.7 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.3518, allocations: 92.08 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3519, allocations: 3.953 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3519, allocations: 13.84 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.352, allocations: 318.8 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.352, allocations: 0 / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.352, allocations: 7.984 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.3521, allocations: 12.86 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3521, allocations: 0 / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.3521, allocations: 45.59 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3522, allocations: 4 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3522, allocations: 4.094 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3522, allocations: 0 / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.3522, allocations: 7.938 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3522, allocations: 3.984 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.3522, allocations: 3.938 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3523, allocations: 4 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.789e-05/0.3523, allocations: 109.8 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3523, allocations: 7.875 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.3524, allocations: 56.94 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3524, allocations: 0 / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3525, allocations: 256 / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3525, allocations: 0 / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3526, allocations: 124.8 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3526, allocations: 7.938 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.3526, allocations: 4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3526, allocations: 0 / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.3526, allocations: 4 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3526, allocations: 3.938 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3526, allocations: 4.031 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.531e-05/0.3527, allocations: 65.12 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3527, allocations: 7.891 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.3527, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.3527, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.3527, allocations: 4 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.3527, allocations: 3.984 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.3528, allocations: 87.31 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3528, allocations: 0 / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002085/0.353, allocations: 19.94 kB / 1.291 GB, free: 3.512 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 (2): * Single equations (assignments): 2 * 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.0004592/0.3535, allocations: 0.6318 MB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.3535, allocations: 16.02 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3535, allocations: 0 / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.3535, allocations: 4 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.3538, allocations: 5.891 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.3542, allocations: 173.7 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3544, allocations: 0.6767 MB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.3545, allocations: 8.109 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3545, allocations: 11.44 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3545, allocations: 3.938 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.3825, allocations: 1.743 MB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 11.55 kB / 1.294 GB, free: 284 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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: 17.827369610080495]