Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0007678/0.0007678, 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.0007657/0.0007657, allocations: 170.3 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.878/0.878, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.713/1.713, allocations: 377.9 MB / 0.6221 GB, free: 8.684 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 4 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.234e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003271/0.003294, allocations: 2.86 MB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.005644, allocations: 1.958 MB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.005917, allocations: 11.94 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.007207, allocations: 473.6 kB / 0.9862 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.007466, allocations: 158.7 kB / 0.9863 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.007579, allocations: 63.92 kB / 0.9864 GB, free: 12.99 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.007952, allocations: 453.7 kB / 0.9868 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.008135, allocations: 99.84 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.008428, allocations: 243.4 kB / 0.9872 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.008571, allocations: 127.6 kB / 0.9873 GB, free: 12.08 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.008606, allocations: 43.94 kB / 0.9873 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.389e-05/0.008639, allocations: 32 kB / 0.9874 GB, free: 12.01 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.008734, allocations: 95.67 kB / 0.9874 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.008843, allocations: 143.6 kB / 0.9876 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.009272, allocations: 0.5412 MB / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.009277, allocations: 3.984 kB / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.009278, allocations: 0 / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.009284, allocations: 0 / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007611/0.01005, allocations: 0.6369 MB / 0.9887 GB, free: 10.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.01009, allocations: 8.031 kB / 0.9887 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.01021, allocations: 54.73 kB / 0.9888 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.01027, allocations: 44.66 kB / 0.9888 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.01068, allocations: 319.9 kB / 0.9891 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.0107, allocations: 16.88 kB / 0.9892 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.01073, allocations: 28.33 kB / 0.9892 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.01104, allocations: 200.6 kB / 0.9894 GB, free: 9.867 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01105, allocations: 192 / 0.9894 GB, free: 9.867 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.01107, allocations: 16.12 kB / 0.9894 GB, free: 9.852 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01107, allocations: 4 kB / 0.9894 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.01132, allocations: 161.9 kB / 0.9896 GB, free: 9.688 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.01216, allocations: 0.6905 MB / 0.9902 GB, free: 8.953 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.01238, allocations: 146.5 kB / 0.9904 GB, free: 8.801 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.0125, allocations: 96.81 kB / 0.9905 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.01252, allocations: 7.984 kB / 0.9905 GB, free: 8.695 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.01254, allocations: 42.44 kB / 0.9905 GB, free: 8.645 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.01254, allocations: 0 / 0.9905 GB, free: 8.645 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0003832/0.01292, allocations: 259.4 kB / 0.9908 GB, free: 8.387 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.01295, allocations: 59.34 kB / 0.9908 GB, free: 8.316 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.01327, allocations: 413.7 kB / 0.9912 GB, free: 7.898 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01329, allocations: 25.7 kB / 0.9912 GB, free: 7.867 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01339, allocations: 216.4 kB / 0.9914 GB, free: 7.652 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.01344, allocations: 59.44 kB / 0.9915 GB, free: 7.594 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.01348, allocations: 33.72 kB / 0.9915 GB, free: 7.555 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.01357, allocations: 342.8 kB / 0.9919 GB, free: 7.211 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.01366, allocations: 67.95 kB / 0.9919 GB, free: 7.145 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.01374, allocations: 54.55 kB / 0.992 GB, free: 7.094 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.01392, allocations: 128.8 kB / 0.9921 GB, free: 6.965 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01392, allocations: 0 / 0.9921 GB, free: 6.965 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002299/0.01415, allocations: 215.7 kB / 0.9923 GB, free: 6.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01416, allocations: 4 kB / 0.9923 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01417, allocations: 3.984 kB / 0.9923 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01418, allocations: 4 kB / 0.9923 GB, free: 6.738 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01434, allocations: 51.97 kB / 0.9924 GB, free: 6.688 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01434, allocations: 3.938 kB / 0.9924 GB, free: 6.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.01442, allocations: 19.88 kB / 0.9924 GB, free: 6.664 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.01443, allocations: 4 kB / 0.9924 GB, free: 6.66 MB / 0.948 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 (20): * Single equations (assignments): 20 * 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 0.0001159/0.01455, allocations: 165.8 kB / 0.9925 GB, free: 6.488 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.01458, allocations: 39.77 kB / 0.9926 GB, free: 6.449 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.01463, allocations: 43.52 kB / 0.9926 GB, free: 6.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01463, allocations: 4 kB / 0.9926 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.01464, allocations: 3.938 kB / 0.9926 GB, free: 6.402 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01464, allocations: 0 / 0.9926 GB, free: 6.402 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.01492, allocations: 312.5 kB / 0.9929 GB, free: 6.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01492, allocations: 0 / 0.9929 GB, free: 6.055 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.01507, allocations: 51.97 kB / 0.993 GB, free: 6.004 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01507, allocations: 3.938 kB / 0.993 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01508, allocations: 4 kB / 0.993 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01508, allocations: 0 / 0.993 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01509, allocations: 3.938 kB / 0.993 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.01547, allocations: 383.1 kB / 0.9934 GB, free: 5.602 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.01552, allocations: 51.61 kB / 0.9934 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01554, allocations: 4 kB / 0.9934 GB, free: 5.547 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.01563, allocations: 11.98 kB / 0.9934 GB, free: 5.535 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.01567, allocations: 11.92 kB / 0.9934 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01567, allocations: 4 kB / 0.9934 GB, free: 5.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002074/0.01588, allocations: 307.1 kB / 0.9937 GB, free: 5.223 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01588, allocations: 3.938 kB / 0.9937 GB, free: 5.219 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002098/0.01609, allocations: 75.95 kB / 0.9938 GB, free: 5.145 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0005629/0.01665, allocations: 0.9133 MB / 0.9947 GB, free: 4.203 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.01688, allocations: 135.9 kB / 0.9948 GB, free: 4.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01688, allocations: 0 / 0.9948 GB, free: 4.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.01697, allocations: 75.95 kB / 0.9949 GB, free: 3.996 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.01736, allocations: 104.1 kB / 0.995 GB, free: 3.898 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.02059, allocations: 3.455 MB / 0.9984 GB, free: 360 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.02071, allocations: 194.5 kB / 0.9986 GB, free: 148 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.02082, allocations: 34.95 kB / 0.9986 GB, free: 112 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.02095, allocations: 116.5 kB / 0.9987 GB, free: 16 MB / 0.9636 GB Notification: Performance of SimCode: time 9.11e-07/0.02095, allocations: 0 / 0.9987 GB, free: 16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.04691, allocations: 9.089 MB / 1.008 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/6.647, allocations: 10.05 kB / 1.008 GB, free: 7.246 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.592487158253789]