Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008941/0.0008941, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008915/0.0008915, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.92/0.92, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.981 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.064e-05, allocations: 5.234 kB / 0.981 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001673/0.001693, allocations: 1.299 MB / 0.9823 GB, free: 124 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.004688, allocations: 3.542 MB / 0.9857 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.004718, allocations: 0 / 0.9857 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.004736, allocations: 3.938 kB / 0.9857 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.00515, allocations: 103.4 kB / 0.9858 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.005388, allocations: 135.5 kB / 0.986 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.005451, allocations: 31.86 kB / 0.986 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.005486, allocations: 0 / 0.986 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.005586, allocations: 35.83 kB / 0.986 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.005664, allocations: 35.91 kB / 0.9861 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.005676, allocations: 0 / 0.9861 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.005982, allocations: 291.5 kB / 0.9863 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.005991, allocations: 0 / 0.9863 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.006007, allocations: 4 kB / 0.9863 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.006186, allocations: 159.5 kB / 0.9865 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.006188, allocations: 3.938 kB / 0.9865 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.183e-06/0.00619, allocations: 0 / 0.9865 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.006193, allocations: 0 / 0.9865 GB, free: 11.78 MB / 0.9011 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.0003266/0.00652, allocations: 274.1 kB / 0.9868 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001176/0.006638, allocations: 12.03 kB / 0.9868 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.006678, allocations: 34.75 kB / 0.9868 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.0067, allocations: 8.891 kB / 0.9868 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.006772, allocations: 109.7 kB / 0.9869 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.00678, allocations: 4.312 kB / 0.9869 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.006787, allocations: 384 / 0.9869 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.006863, allocations: 38.25 kB / 0.9869 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006873, allocations: 192 / 0.9869 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.006882, allocations: 3.938 kB / 0.987 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.006886, allocations: 4 kB / 0.987 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.006917, allocations: 8 kB / 0.987 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.007032, allocations: 120.7 kB / 0.9871 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.007079, allocations: 26.56 kB / 0.9871 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.007095, allocations: 8.922 kB / 0.9871 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.007243, allocations: 27.97 kB / 0.9871 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.00726, allocations: 30.56 kB / 0.9872 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.007261, allocations: 0 / 0.9872 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000123/0.007384, allocations: 57.52 kB / 0.9872 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.007411, allocations: 51.41 kB / 0.9873 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.007468, allocations: 101.8 kB / 0.9874 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007478, allocations: 29.7 kB / 0.9874 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.007505, allocations: 80.14 kB / 0.9875 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.007527, allocations: 11.94 kB / 0.9875 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.007551, allocations: 17.84 kB / 0.9875 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.007634, allocations: 310.8 kB / 0.9878 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.007647, allocations: 4 kB / 0.9878 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.007655, allocations: 7.938 kB / 0.9878 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.007682, allocations: 16.84 kB / 0.9878 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007684, allocations: 0 / 0.9878 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.126e-05/0.007725, allocations: 41.64 kB / 0.9879 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007738, allocations: 8 kB / 0.9879 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.007743, allocations: 3.938 kB / 0.9879 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007754, allocations: 4.094 kB / 0.9879 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.007795, allocations: 4 kB / 0.9879 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.007803, allocations: 0 / 0.9879 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-06/0.007813, allocations: 0 / 0.9879 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.007817, allocations: 0 / 0.9879 GB, free: 10.15 MB / 0.9011 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 5.135e-05/0.007868, allocations: 113.8 kB / 0.988 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-06/0.007871, allocations: 0 / 0.988 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.007956, allocations: 52.94 kB / 0.988 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007957, allocations: 0 / 0.988 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.007961, allocations: 3.938 kB / 0.988 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.007963, allocations: 7.969 kB / 0.9881 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.688e-05/0.00803, allocations: 120.8 kB / 0.9882 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008032, allocations: 256 / 0.9882 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.008044, allocations: 11.98 kB / 0.9882 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008045, allocations: 0 / 0.9882 GB, free: 9.789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.008051, allocations: 3.938 kB / 0.9882 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008052, allocations: 0 / 0.9882 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008053, allocations: 0 / 0.9882 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.897e-05/0.008102, allocations: 65.09 kB / 0.9882 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.00812, allocations: 7.984 kB / 0.9883 GB, free: 9.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.00813, allocations: 7.969 kB / 0.9883 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.008136, allocations: 0 / 0.9883 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.008147, allocations: 0 / 0.9883 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.008148, allocations: 4 kB / 0.9883 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.008175, allocations: 87.27 kB / 0.9884 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.008176, allocations: 0 / 0.9884 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001354/0.008311, allocations: 23.88 kB / 0.9884 GB, free: 9.574 MB / 0.9011 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.0003139/0.008625, allocations: 0.6306 MB / 0.989 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.092e-05/0.008696, allocations: 23.91 kB / 0.989 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008697, allocations: 0 / 0.989 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.008706, allocations: 11.92 kB / 0.989 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.008854, allocations: 3.938 kB / 0.989 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.009146, allocations: 146.4 kB / 0.9892 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.009184, allocations: 63.34 kB / 0.9892 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.009204, allocations: 4.125 kB / 0.9892 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.009229, allocations: 16.5 kB / 0.9892 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of SimCode: time 5.31e-07/0.00923, allocations: 0 / 0.9892 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.02493, allocations: 2.311 MB / 0.9915 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.763, allocations: 14.75 kB / 0.9915 GB, free: 6.426 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.933904378674924]