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.001768/0.001768, allocations: 111.3 kB / 17.6 MB, free: 4.699 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.001938/0.001938, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] 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.696/2.696, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.001922/0.001922, allocations: 59.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002495/1.011, allocations: 1.316 MB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003976/1.015, allocations: 3.817 MB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/1.015, allocations: 1.344 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/1.015, allocations: 0.8438 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004608/1.015, allocations: 100.8 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/1.015, allocations: 136.4 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/1.016, allocations: 32.19 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/1.016, allocations: 2.781 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/1.016, allocations: 19.45 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/1.016, allocations: 43.5 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/1.016, allocations: 0 / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/1.016, allocations: 302.9 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/1.016, allocations: 5.312 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/1.016, allocations: 6.438 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/1.017, allocations: 127.3 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.017, allocations: 0.9062 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.017, allocations: 0.8906 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.341e-06/1.017, allocations: 1.156 kB / 1.277 GB, free: 3.793 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.0003435/1.017, allocations: 359 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.017, allocations: 9.766 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/1.017, allocations: 35.5 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/1.017, allocations: 2.031 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/1.017, allocations: 167.8 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.017, allocations: 5.281 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/1.017, allocations: 1.062 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/1.017, allocations: 37.44 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.017, allocations: 1.062 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/1.017, allocations: 0 / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.017, allocations: 0 / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/1.017, allocations: 4.719 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/1.017, allocations: 159.9 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/1.017, allocations: 29.59 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/1.017, allocations: 7.828 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/1.018, allocations: 102.4 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.018, allocations: 35.5 kB / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.018, allocations: 0 / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/1.018, allocations: 44.61 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/1.018, allocations: 56.09 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/1.018, allocations: 102.5 kB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/1.018, allocations: 25.7 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/1.018, allocations: 81.56 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.018, allocations: 13.88 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/1.018, allocations: 15.11 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/1.018, allocations: 311.9 kB / 1.279 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/1.018, allocations: 9.25 kB / 1.279 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/1.018, allocations: 4.828 kB / 1.279 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/1.018, allocations: 14.42 kB / 1.279 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.018, allocations: 0 / 1.279 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.228e-05/1.018, allocations: 48.12 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.018, allocations: 7.531 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.018, allocations: 0.75 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.018, allocations: 0.8125 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/1.018, allocations: 5.062 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.018, allocations: 4.906 kB / 1.279 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/1.018, allocations: 0 / 1.279 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/1.018, allocations: 1.688 kB / 1.279 GB, free: 2.027 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.351e-05/1.018, allocations: 108.2 kB / 1.279 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/1.018, allocations: 6.969 kB / 1.279 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/1.018, allocations: 53.67 kB / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.018, allocations: 0.5938 kB / 1.279 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.018, allocations: 5.062 kB / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.018, allocations: 0 / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.794e-05/1.019, allocations: 157.1 kB / 1.279 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.019, allocations: 7.219 kB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/1.019, allocations: 2.969 kB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/1.019, allocations: 1.031 kB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1.019, allocations: 1.375 kB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.019, allocations: 0 / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/1.019, allocations: 0 / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/1.019, allocations: 66.38 kB / 1.279 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/1.019, allocations: 89.33 kB / 1.279 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/1.019, allocations: 4.844 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/1.019, allocations: 0.9062 kB / 1.279 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/1.019, allocations: 4.781 kB / 1.279 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/1.019, allocations: 0.9062 kB / 1.279 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.565e-05/1.019, allocations: 83.78 kB / 1.279 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 1.279 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002145/1.019, allocations: 26.66 kB / 1.28 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.0003271/1.019, allocations: 0.6397 MB / 1.28 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/1.019, allocations: 8.422 kB / 1.28 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.019, allocations: 0 / 1.28 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/1.019, allocations: 13.95 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.0002293/1.02, allocations: 4.938 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.0003902/1.02, allocations: 173.2 kB / 1.28 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/1.02, allocations: 0.6799 MB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.556e-05/1.02, allocations: 2.406 kB / 1.281 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/1.02, allocations: 13.16 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.02, allocations: 0.75 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/1.063, allocations: 1.633 MB / 1.283 GB, free: 15.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.636, allocations: 6.984 kB / 1.283 GB, free: 15.51 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.649058184993919]