Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001533/0.001533, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001709/0.001709, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.975/2.975, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001871/0.001871, allocations: 63.61 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3338, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002607/0.3364, allocations: 1.481 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.3377, allocations: 0.8529 MB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.3378, allocations: 11.94 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.338, allocations: 35.83 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.755e-05/0.338, allocations: 15.86 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.3385, allocations: 197.1 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.3386, allocations: 51.67 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3387, allocations: 3.984 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.3387, allocations: 23.92 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.3388, allocations: 15.88 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3388, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.3392, allocations: 183.7 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.3392, allocations: 4 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3392, allocations: 19.86 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3394, allocations: 127.8 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3394, allocations: 4 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3394, allocations: 0 / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3394, allocations: 0 / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003485/0.3398, allocations: 297.9 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3398, allocations: 15.97 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.91e-05/0.3399, allocations: 75.47 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.3399, allocations: 106 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.34, allocations: 84.17 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3402, allocations: 201.7 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.3403, allocations: 158.9 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.3404, allocations: 162.9 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.129e-05/0.3405, allocations: 108.9 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.3405, allocations: 75.28 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.3406, allocations: 150.6 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/0.3406, allocations: 150.6 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.3407, allocations: 158.5 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.341, allocations: 433 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.3411, allocations: 169.1 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.3411, allocations: 88.14 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.3412, allocations: 79.22 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.3412, allocations: 109.8 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3412, allocations: 0 / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.504e-05/0.3413, allocations: 33.66 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.3414, allocations: 138.5 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3415, allocations: 139 kB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3415, allocations: 25.7 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.3416, allocations: 88.09 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.3416, allocations: 0 / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3416, allocations: 21.72 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3418, allocations: 314.8 kB / 1.351 GB, free: 9.414 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.3418, allocations: 8 kB / 1.351 GB, free: 9.406 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.3418, allocations: 4 kB / 1.351 GB, free: 9.402 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.3418, allocations: 16.86 kB / 1.351 GB, free: 9.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3418, allocations: 0 / 1.351 GB, free: 9.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001153/0.342, allocations: 53.56 kB / 1.352 GB, free: 9.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.342, allocations: 4 kB / 1.352 GB, free: 9.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.342, allocations: 4 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.342, allocations: 0 / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.342, allocations: 0 / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.342, allocations: 0 / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.342, allocations: 7.891 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.342, allocations: 3.984 kB / 1.352 GB, free: 9.305 MB / 1.045 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001099/0.3421, allocations: 189.2 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.3422, allocations: 108.9 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3423, allocations: 116.5 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-05/0.3424, allocations: 180.3 kB / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.3424, allocations: 180.2 kB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-05/0.3425, allocations: 184.2 kB / 1.352 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3428, allocations: 384.2 kB / 1.353 GB, free: 7.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/0.3428, allocations: 108.9 kB / 1.353 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.3429, allocations: 105 kB / 1.353 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-05/0.343, allocations: 180.2 kB / 1.353 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.343, allocations: 192.2 kB / 1.353 GB, free: 7.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/0.3431, allocations: 176.3 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.732e-05/0.3432, allocations: 180.2 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.3433, allocations: 319.6 kB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3434, allocations: 108.9 kB / 1.354 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.3435, allocations: 180.3 kB / 1.354 GB, free: 6.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.3436, allocations: 108.9 kB / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.3437, allocations: 184.2 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.3437, allocations: 104.9 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.3438, allocations: 104.4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3438, allocations: 4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000252/0.344, allocations: 31.88 kB / 1.355 GB, free: 5.742 MB / 1.045 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 (0): * Single equations (assignments): 0 * 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.0005837/0.3446, allocations: 0.8631 MB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.3447, allocations: 29.7 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3447, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3447, allocations: 3.938 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.3452, allocations: 469.2 kB / 1.356 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3464, allocations: 1.467 MB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.3465, allocations: 79.2 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.3465, allocations: 0 / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.3466, allocations: 15.44 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3466, allocations: 0 / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3699, allocations: 2.957 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.12, allocations: 5.141 kB / 1.361 GB, free: 15.93 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.34351092693396]