Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0007958/0.0007958, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007976/0.0007976, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.861/0.861, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 1.718/1.718, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.112e-05, allocations: 8.891 kB / 0.9998 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001852/0.001873, allocations: 1.426 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.004918, allocations: 2.642 MB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.004981, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.005011, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.005078, allocations: 19.78 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.008263, allocations: 1.623 MB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.008378, allocations: 47.67 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.00843, allocations: 4 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.008484, allocations: 27.91 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.008508, allocations: 11.98 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.008521, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.01023, allocations: 1.45 MB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.01024, allocations: 11.92 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.01027, allocations: 12 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.01155, allocations: 1.247 MB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01156, allocations: 0 / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01156, allocations: 0 / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.01156, allocations: 4 kB / 1.008 GB, free: 4.848 MB / 0.9636 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.0004227/0.01199, allocations: 468 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.01203, allocations: 8.031 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.01206, allocations: 110 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.01211, allocations: 80.17 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.0122, allocations: 195 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.01224, allocations: 158.9 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.01228, allocations: 150.9 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.889e-05/0.01233, allocations: 101.5 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01235, allocations: 75.47 kB / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.01238, allocations: 162.5 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.01241, allocations: 150.6 kB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.01244, allocations: 150.6 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.01264, allocations: 433 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.0127, allocations: 173.2 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.01272, allocations: 84.12 kB / 1.01 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.01274, allocations: 75.28 kB / 1.011 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.01277, allocations: 113.8 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.01277, allocations: 0 / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.044e-05/0.01283, allocations: 37.53 kB / 1.011 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.01287, allocations: 126.7 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.01298, allocations: 137.8 kB / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.01299, allocations: 25.7 kB / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.01302, allocations: 88.14 kB / 1.011 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.01303, allocations: 0 / 1.011 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.01305, allocations: 21.7 kB / 1.011 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.01312, allocations: 314.8 kB / 1.011 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.01315, allocations: 7.938 kB / 1.011 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.01316, allocations: 11.98 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.01319, allocations: 8.859 kB / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01319, allocations: 0 / 1.011 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.0133, allocations: 57.62 kB / 1.011 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01331, allocations: 7.938 kB / 1.011 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.01333, allocations: 3.984 kB / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01334, allocations: 4 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.01334, allocations: 4 kB / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01335, allocations: 3.938 kB / 1.011 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.01336, allocations: 0 / 1.011 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.01337, allocations: 0 / 1.011 GB, free: 1.168 MB / 0.9636 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 6.64e-05/0.01344, allocations: 185.1 kB / 1.012 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01347, allocations: 113 kB / 1.012 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.01351, allocations: 124.7 kB / 1.012 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.01354, allocations: 180.3 kB / 1.012 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-05/0.01358, allocations: 180.2 kB / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/0.01362, allocations: 176.3 kB / 1.012 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.01377, allocations: 384.3 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.01379, allocations: 108.9 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.01382, allocations: 105 kB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.976e-05/0.01386, allocations: 180.2 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.01389, allocations: 180.2 kB / 1.013 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.582e-05/0.01393, allocations: 184.2 kB / 1.013 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-05/0.01397, allocations: 176.3 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.286e-05/0.01406, allocations: 323.7 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.01409, allocations: 101 kB / 1.014 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.01421, allocations: 188.1 kB / 1.014 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.01426, allocations: 105.3 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.0143, allocations: 184.3 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.01432, allocations: 104.9 kB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.01437, allocations: 96.83 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01437, allocations: 0 / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005098/0.01488, allocations: 291 kB / 1.015 GB, free: 13.38 MB / 0.9792 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.0009704/0.01585, allocations: 1.221 MB / 1.016 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.01594, allocations: 37.64 kB / 1.016 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01594, allocations: 4 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.01595, allocations: 3.984 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01622, allocations: 456.8 kB / 1.017 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.01722, allocations: 1.577 MB / 1.018 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.01727, allocations: 71.23 kB / 1.018 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.255e-05/0.01728, allocations: 0 / 1.018 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.01731, allocations: 16.5 kB / 1.018 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of SimCode: time 1.062e-06/0.01731, allocations: 0 / 1.018 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.03882, allocations: 7.82 MB / 1.026 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.763, allocations: 11.64 kB / 1.026 GB, free: 2.266 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.759580355137587]