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.002031/0.002031, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001851/0.001851, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="cs",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.0019/0.0019, allocations: 64.86 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002626/0.3275, allocations: 1.306 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.3324, allocations: 3.538 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.3324, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3325, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.333, allocations: 95.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3334, allocations: 139.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.3334, allocations: 23.92 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.3335, allocations: 15.88 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3336, allocations: 19.92 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3337, allocations: 43.89 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3337, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.3343, allocations: 315.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.3343, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.3343, allocations: 7.938 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3346, allocations: 127.9 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3346, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3346, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3346, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 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.0004331/0.335, allocations: 286 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3351, allocations: 12.03 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/0.3351, allocations: 8.062 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.3351, allocations: 30.75 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.3351, allocations: 0.9375 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3352, allocations: 118.5 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3352, allocations: 384 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3353, allocations: 4.125 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3354, allocations: 37.64 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3354, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3354, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3354, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.3354, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.3356, allocations: 124.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.3356, allocations: 18.58 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.3357, allocations: 16.86 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.3359, allocations: 23.97 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3359, allocations: 38.5 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3359, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/0.336, allocations: 41.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3361, allocations: 51.41 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.3362, allocations: 101.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3362, allocations: 29.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.3362, allocations: 80.14 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3362, allocations: 3.953 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3363, allocations: 21.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3364, allocations: 310.8 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.3364, allocations: 4.125 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-06/0.3364, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.3365, allocations: 20.8 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3365, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.42e-05/0.3365, allocations: 45.58 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3366, allocations: 8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3366, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3366, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.3366, allocations: 4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3366, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.3366, allocations: 8.031 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3366, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 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.506e-05/0.3367, allocations: 113.8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.3367, allocations: 3.938 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3368, allocations: 52.88 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3368, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3368, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3369, allocations: 0 / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.337, allocations: 132.6 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.337, allocations: 4.031 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.337, allocations: 4.25 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.337, allocations: 0 / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.337, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.337, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.337, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.176e-05/0.3371, allocations: 73 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.3371, allocations: 7.953 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3371, allocations: 0 / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.3371, allocations: 3.984 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.3372, allocations: 4.031 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.3372, allocations: 4 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.3372, allocations: 83.28 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3372, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002106/0.3374, allocations: 19.94 kB / 1.334 GB, free: 9.664 MB / 1.029 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.000486/0.3379, allocations: 0.6473 MB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.338, allocations: 12 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.338, allocations: 0 / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.338, allocations: 8.094 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3382, allocations: 2.438 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.3386, allocations: 173.7 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.3387, allocations: 63.28 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.3387, allocations: 0 / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3387, allocations: 19.5 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3387, allocations: 0 / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.3594, allocations: 1.806 MB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.89, allocations: 11.45 kB / 1.337 GB, free: 6.992 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/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: 17.188963530934416]