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.0008184/0.0008184, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000793/0.000793, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.441e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001477/0.001492, allocations: 1.309 MB / 0.9518 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.004471, allocations: 3.53 MB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.004497, allocations: 0 / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.004514, allocations: 3.938 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.00494, allocations: 103.4 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.005186, allocations: 140.8 kB / 0.9555 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.005246, allocations: 31.86 kB / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.005281, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.005379, allocations: 31.84 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.005465, allocations: 31.97 kB / 0.9556 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.005474, allocations: 0 / 0.9556 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.005783, allocations: 303.5 kB / 0.9559 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.005791, allocations: 0 / 0.9559 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.00581, allocations: 4 kB / 0.9559 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.00598, allocations: 151.5 kB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005982, allocations: 8 kB / 0.956 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.362e-06/0.005984, allocations: 3.938 kB / 0.956 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.005988, allocations: 0 / 0.956 GB, free: 13.82 MB / 0.9167 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.0002951/0.006283, allocations: 282 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.006317, allocations: 8.031 kB / 0.9563 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.006343, allocations: 30.75 kB / 0.9563 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.006363, allocations: 8.922 kB / 0.9563 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.006433, allocations: 105.7 kB / 0.9564 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.006442, allocations: 384 / 0.9564 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.006451, allocations: 4.375 kB / 0.9564 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.006528, allocations: 38.27 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006538, allocations: 192 / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.006547, allocations: 3.938 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.006551, allocations: 0 / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.006585, allocations: 11.92 kB / 0.9565 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.006701, allocations: 120.8 kB / 0.9566 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.006747, allocations: 18.61 kB / 0.9566 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.006763, allocations: 12.91 kB / 0.9566 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.006919, allocations: 27.98 kB / 0.9567 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.00694, allocations: 30.56 kB / 0.9567 GB, free: 13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.006941, allocations: 0 / 0.9567 GB, free: 13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.007086, allocations: 53.52 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.007117, allocations: 51.41 kB / 0.9568 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.007182, allocations: 105.9 kB / 0.9569 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.007191, allocations: 25.7 kB / 0.9569 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.007215, allocations: 84.14 kB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.007235, allocations: 3.953 kB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.007276, allocations: 17.7 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007387, allocations: 319 kB / 0.9573 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.0074, allocations: 4 kB / 0.9573 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.007409, allocations: 4 kB / 0.9573 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.007434, allocations: 8.859 kB / 0.9573 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007436, allocations: 0 / 0.9573 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.276e-05/0.007489, allocations: 49.62 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.0075, allocations: 4 kB / 0.9574 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007505, allocations: 7.875 kB / 0.9574 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.007514, allocations: 0 / 0.9574 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.007559, allocations: 8.094 kB / 0.9574 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007564, allocations: 0 / 0.9574 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.007574, allocations: 0 / 0.9574 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.007578, allocations: 0 / 0.9574 GB, free: 12.21 MB / 0.9167 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 4.644e-05/0.007625, allocations: 109.8 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-06/0.007628, allocations: 0 / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.007707, allocations: 60.88 kB / 0.9576 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.007708, allocations: 0 / 0.9576 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.007712, allocations: 3.938 kB / 0.9576 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.007714, allocations: 0 / 0.9576 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.414e-05/0.007778, allocations: 128.8 kB / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007778, allocations: 0 / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.007788, allocations: 4 kB / 0.9577 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007789, allocations: 0 / 0.9577 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.007797, allocations: 7.938 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.007798, allocations: 0 / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007799, allocations: 3.984 kB / 0.9577 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.79e-05/0.007847, allocations: 65.09 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.007862, allocations: 0 / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.007873, allocations: 11.92 kB / 0.9578 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-06/0.007879, allocations: 4.031 kB / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.00789, allocations: 4 kB / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.007892, allocations: 256 / 0.9578 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.007918, allocations: 83.28 kB / 0.9579 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007918, allocations: 0 / 0.9579 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001472/0.008065, allocations: 35.8 kB / 0.9579 GB, free: 11.62 MB / 0.9167 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.0002886/0.008354, allocations: 0.6241 MB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.008419, allocations: 11.94 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008421, allocations: 4.094 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.008429, allocations: 7.938 kB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.008572, allocations: 5.656 kB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.008866, allocations: 166.3 kB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.008909, allocations: 63.34 kB / 0.9588 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.00893, allocations: 4.062 kB / 0.9588 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.008959, allocations: 12.5 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of SimCode: time 6.12e-07/0.008959, allocations: 3.938 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.02449, allocations: 2.294 MB / 0.961 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.589, allocations: 11.64 kB / 0.961 GB, free: 8.496 MB / 0.9167 GB " [Timeout remaining time 292] (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/jenkins/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: 11.765284150838852]