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.001807/0.001807, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002363/0.002363, allocations: 211.3 kB / 22.24 MB, free: 5.242 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.474/1.474, allocations: 230.6 MB / 256 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.827/2.827, allocations: 476 MB / 0.7699 GB, free: 4.703 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.002102/0.002102, allocations: 68.11 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 170 MB / 1.283 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002809/0.3319, allocations: 1.304 MB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005487/0.3374, allocations: 3.539 MB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.3375, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.3375, allocations: 3.938 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005608/0.338, allocations: 99.48 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.3385, allocations: 140.3 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.3386, allocations: 27.92 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.3386, allocations: 3.984 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3387, allocations: 31.84 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3388, allocations: 39.84 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3388, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.3394, allocations: 291.6 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3394, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3394, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3397, allocations: 121.3 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3397, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3397, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3397, allocations: 0 / 1.288 GB, free: 6.719 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.0004308/0.3401, allocations: 290 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3402, allocations: 8.031 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.3402, allocations: 30.75 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.3402, allocations: 4.875 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3403, allocations: 114.5 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3404, allocations: 384 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3404, allocations: 4.312 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.3405, allocations: 37.62 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3405, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3405, allocations: 8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3405, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.3405, allocations: 4 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.3407, allocations: 124.8 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.3408, allocations: 22.52 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.3408, allocations: 12.92 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.341, allocations: 27.92 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.341, allocations: 34.56 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.341, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.3412, allocations: 45.69 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3412, allocations: 55.34 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.3413, allocations: 105.8 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3413, allocations: 25.7 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.3414, allocations: 88.27 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3414, allocations: 7.938 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3415, allocations: 13.72 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3416, allocations: 314.8 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.3416, allocations: 4 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.3416, allocations: 3.984 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.3417, allocations: 12.86 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3417, allocations: 0 / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.163e-05/0.3417, allocations: 41.64 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3418, allocations: 16.03 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3418, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3418, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.3418, allocations: 4 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3418, allocations: 3.984 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.3419, allocations: 0 / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.3419, allocations: 0 / 1.289 GB, free: 5.09 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 8.268e-05/0.3419, allocations: 115.2 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.342, allocations: 7.891 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.3421, allocations: 53 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3421, allocations: 3.938 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3421, allocations: 256 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3421, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3422, allocations: 124.8 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3422, allocations: 3.938 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.3422, allocations: 11.94 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3422, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3422, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3422, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3422, allocations: 4 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.3423, allocations: 65.16 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.3424, allocations: 19.81 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3424, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.3424, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.3424, allocations: 4 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3424, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.3425, allocations: 91.2 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002096/0.3427, allocations: 19.94 kB / 1.29 GB, free: 4.496 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.0005031/0.3432, allocations: 0.6357 MB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3433, allocations: 15.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3433, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.3433, allocations: 7.938 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3436, allocations: 2.188 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.344, allocations: 165.8 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.146e-05/0.3441, allocations: 71.44 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.3441, allocations: 0 / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.3442, allocations: 11.44 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3442, allocations: 0 / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.3752, allocations: 2.156 MB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.64, allocations: 12.5 kB / 1.293 GB, free: 1.48 MB / 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 18.36206674296409]