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.0009425/0.0009425, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008788/0.0008788, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9188/0.9188, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.821/1.821, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.538e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00184/0.001865, allocations: 1.426 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.005051, allocations: 2.634 MB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.005092, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.005115, allocations: 15.86 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.776e-05/0.005173, allocations: 15.86 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.007584, allocations: 1.622 MB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.007664, allocations: 43.67 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.007705, allocations: 7.984 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.007743, allocations: 19.86 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.007764, allocations: 11.94 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.007776, allocations: 0 / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.009149, allocations: 1.462 MB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.00916, allocations: 7.938 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.009183, allocations: 12 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.01027, allocations: 1.239 MB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01027, allocations: 7.938 kB / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01027, allocations: 0 / 1.009 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.01027, allocations: 0 / 1.009 GB, free: 4.379 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.0006114/0.01089, allocations: 468 kB / 1.01 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.01093, allocations: 12.02 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.01099, allocations: 84.17 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.01109, allocations: 189 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.01113, allocations: 150.9 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.01117, allocations: 154.9 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.177e-05/0.01122, allocations: 105.5 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.01124, allocations: 75.47 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.01128, allocations: 154.7 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.01131, allocations: 154.6 kB / 1.011 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.01135, allocations: 158.5 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.01155, allocations: 409.6 kB / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.01162, allocations: 169.2 kB / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.01164, allocations: 84.14 kB / 1.012 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.01167, allocations: 79.28 kB / 1.012 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.0117, allocations: 113.8 kB / 1.012 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.0117, allocations: 0 / 1.012 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.771e-05/0.01177, allocations: 33.66 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.01181, allocations: 130.6 kB / 1.012 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01193, allocations: 132.3 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.01194, allocations: 25.7 kB / 1.012 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.01198, allocations: 92.12 kB / 1.012 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.01198, allocations: 0 / 1.012 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.01201, allocations: 17.72 kB / 1.012 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.01208, allocations: 322.8 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.0121, allocations: 0 / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.01212, allocations: 8 kB / 1.012 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.01215, allocations: 16.8 kB / 1.013 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01215, allocations: 4 kB / 1.013 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.01226, allocations: 53.58 kB / 1.013 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01227, allocations: 4 kB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.01229, allocations: 4 kB / 1.013 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.0123, allocations: 7.875 kB / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.0123, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.01231, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.01232, allocations: 4 kB / 1.013 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01233, allocations: 0 / 1.013 GB, free: 0.8516 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 7.908e-05/0.01241, allocations: 193.1 kB / 1.013 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.01245, allocations: 116.9 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.01248, allocations: 108.8 kB / 1.013 GB, free: 428 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/0.01252, allocations: 184.2 kB / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/0.01256, allocations: 180.2 kB / 1.013 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.01261, allocations: 184.3 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01274, allocations: 368.8 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/0.01276, allocations: 101 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.01279, allocations: 104.9 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-05/0.01283, allocations: 180.3 kB / 1.014 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.01287, allocations: 184.3 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.96e-05/0.01291, allocations: 184.2 kB / 1.015 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-05/0.01295, allocations: 184.2 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/0.01304, allocations: 307.7 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.01308, allocations: 109 kB / 1.015 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.01313, allocations: 184.2 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.01317, allocations: 105.3 kB / 1.015 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.01322, allocations: 184.1 kB / 1.016 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.01324, allocations: 101 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.01329, allocations: 101 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01329, allocations: 4 kB / 1.016 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004219/0.01371, allocations: 291 kB / 1.016 GB, free: 13.09 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.0007439/0.01446, allocations: 0.5714 MB / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.01454, allocations: 37.7 kB / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01455, allocations: 0 / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.01455, allocations: 3.938 kB / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.015, allocations: 471.7 kB / 1.017 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.0153, allocations: 245.7 kB / 1.017 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01534, allocations: 67.33 kB / 1.017 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.01535, allocations: 12.5 kB / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of SimCode: time 6.72e-07/0.01535, allocations: 0 / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of Templates: time 0.004975/0.02033, allocations: 4.873 MB / 1.022 GB, free: 6.754 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 800] 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: 7.967337356880307]