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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00187/0.00187, allocations: 75.81 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7407, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001877/0.7426, allocations: 1.307 MB / 1.273 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003978/0.7465, allocations: 3.81 MB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.7466, allocations: 0 / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.7466, allocations: 2.844 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.7471, allocations: 104.3 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.7475, allocations: 137.1 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.7476, allocations: 27.95 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.7476, allocations: 6.141 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.7478, allocations: 24.3 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.7479, allocations: 45.62 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.7479, allocations: 1.031 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.7486, allocations: 303.7 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.7486, allocations: 1.156 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.7486, allocations: 7.469 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.7489, allocations: 122.3 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7489, allocations: 0 / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7489, allocations: 1.219 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7489, allocations: 0 / 1.277 GB, free: 3.801 MB / 0.9981 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.0003384/0.7492, allocations: 365.6 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7493, allocations: 9.406 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.7493, allocations: 34.69 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.7493, allocations: 2.062 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.341e-05/0.7494, allocations: 167.8 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7494, allocations: 384 / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.7494, allocations: 1.5 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.276e-05/0.7495, allocations: 44.86 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7495, allocations: 0 / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.7495, allocations: 5.031 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7495, allocations: 0 / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.7496, allocations: 3.906 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.7497, allocations: 157.3 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.7498, allocations: 26.59 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.7498, allocations: 15.41 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.75, allocations: 105 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.7501, allocations: 31.56 kB / 1.278 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.7501, allocations: 0.8438 kB / 1.278 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.7502, allocations: 40.36 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.7502, allocations: 58.56 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.7503, allocations: 104.4 kB / 1.278 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.7503, allocations: 26.8 kB / 1.278 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.7503, allocations: 85.45 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.7503, allocations: 6.016 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7504, allocations: 12.97 kB / 1.278 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.7504, allocations: 315.7 kB / 1.279 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.7504, allocations: 8.625 kB / 1.279 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.7504, allocations: 2.719 kB / 1.279 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.7505, allocations: 14.23 kB / 1.279 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7505, allocations: 5 kB / 1.279 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.675e-05/0.7506, allocations: 44.34 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7506, allocations: 5 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7506, allocations: 0.8125 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7506, allocations: 0 / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.7507, allocations: 5.156 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7507, allocations: 0.9062 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.7507, allocations: 0 / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7507, allocations: 1.781 kB / 1.279 GB, free: 2.031 MB / 0.9981 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.503e-05/0.7507, allocations: 115.5 kB / 1.279 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.7508, allocations: 7.094 kB / 1.279 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.7509, allocations: 49.92 kB / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7509, allocations: 0.9375 kB / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7509, allocations: 0 / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7509, allocations: 0.7812 kB / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.133e-05/0.751, allocations: 163.1 kB / 1.279 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.751, allocations: 3.938 kB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.751, allocations: 7.562 kB / 1.279 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.751, allocations: 4.875 kB / 1.279 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.751, allocations: 0.8125 kB / 1.279 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.751, allocations: 0 / 1.279 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.751, allocations: 0.9375 kB / 1.279 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.162e-05/0.7511, allocations: 61.19 kB / 1.279 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.7511, allocations: 84.58 kB / 1.279 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.7511, allocations: 1.438 kB / 1.279 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.7511, allocations: 4.031 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.7512, allocations: 1.562 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7512, allocations: 2.516 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.7512, allocations: 87.55 kB / 1.279 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7512, allocations: 0.6562 kB / 1.279 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003524/0.7515, allocations: 28.02 kB / 1.279 GB, free: 1.398 MB / 0.9981 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.0003611/0.7519, allocations: 0.639 MB / 1.28 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.752, allocations: 13.47 kB / 1.28 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.752, allocations: 0 / 1.28 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.752, allocations: 7.656 kB / 1.28 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.7523, allocations: 6.891 kB / 1.28 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.7527, allocations: 171.9 kB / 1.28 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.7529, allocations: 0.6764 MB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.7529, allocations: 2.656 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.753, allocations: 13.19 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.753, allocations: 0 / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.7801, allocations: 1.628 MB / 1.282 GB, free: 15.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.764, allocations: 5.422 kB / 1.282 GB, free: 15.52 MB / 1.014 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/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: 13.163804980002169]