Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001171/0.001171, allocations: 76.55 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.001151/0.001151, allocations: 181.9 kB / 23.22 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.9032/0.9032, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: 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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9518 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.296e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002003/0.002036, allocations: 1.436 MB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.004999, allocations: 2.634 MB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.00503, allocations: 0 / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.005051, allocations: 3.938 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.005109, allocations: 23.78 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.00757, allocations: 1.617 MB / 0.9574 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.007643, allocations: 43.67 kB / 0.9575 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.007679, allocations: 4 kB / 0.9575 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.007718, allocations: 19.92 kB / 0.9575 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.007739, allocations: 11.98 kB / 0.9575 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.007751, allocations: 0 / 0.9575 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.009066, allocations: 1.458 MB / 0.9589 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.009079, allocations: 3.938 kB / 0.9589 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.0091, allocations: 12 kB / 0.9589 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01012, allocations: 1.249 MB / 0.9601 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01012, allocations: 0 / 0.9601 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01012, allocations: 4 kB / 0.9601 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.01012, allocations: 0 / 0.9601 GB, free: 10.35 MB / 0.9167 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.0004/0.01052, allocations: 464.1 kB / 0.9606 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.01056, allocations: 12.03 kB / 0.9606 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.01061, allocations: 80.17 kB / 0.9607 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.01071, allocations: 204.9 kB / 0.9609 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.01075, allocations: 150.9 kB / 0.961 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.01079, allocations: 150.9 kB / 0.9612 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.997e-05/0.01084, allocations: 101.5 kB / 0.9613 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.01086, allocations: 83.41 kB / 0.9613 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.01089, allocations: 158.7 kB / 0.9615 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.01093, allocations: 150.6 kB / 0.9616 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.01096, allocations: 150.6 kB / 0.9618 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.01116, allocations: 409.6 kB / 0.9622 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.01122, allocations: 173.2 kB / 0.9623 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.01124, allocations: 84.08 kB / 0.9624 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01126, allocations: 75.28 kB / 0.9625 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.0113, allocations: 117.8 kB / 0.9626 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.0113, allocations: 3.984 kB / 0.9626 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.751e-05/0.01136, allocations: 29.66 kB / 0.9626 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.0114, allocations: 138.6 kB / 0.9628 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.0115, allocations: 132.5 kB / 0.9629 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.01151, allocations: 25.7 kB / 0.9629 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.01155, allocations: 96.09 kB / 0.963 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.01155, allocations: 0 / 0.963 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.01158, allocations: 17.7 kB / 0.963 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.01166, allocations: 314.8 kB / 0.9633 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.01168, allocations: 7.938 kB / 0.9633 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.01169, allocations: 8 kB / 0.9633 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.01172, allocations: 12.84 kB / 0.9633 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01172, allocations: 3.938 kB / 0.9634 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.388e-05/0.01182, allocations: 49.73 kB / 0.9634 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.01183, allocations: 4 kB / 0.9634 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.01184, allocations: 4 kB / 0.9634 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01186, allocations: 3.938 kB / 0.9634 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.01186, allocations: 3.984 kB / 0.9634 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01186, allocations: 0 / 0.9634 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.01188, allocations: 7.953 kB / 0.9634 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.01188, allocations: 4 kB / 0.9634 GB, free: 6.809 MB / 0.9167 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.813e-05/0.01195, allocations: 189 kB / 0.9636 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.01199, allocations: 108.9 kB / 0.9637 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.01202, allocations: 112.8 kB / 0.9638 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/0.01215, allocations: 192.1 kB / 0.964 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/0.01219, allocations: 176.3 kB / 0.9642 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.01222, allocations: 180.2 kB / 0.9643 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01235, allocations: 364.9 kB / 0.9647 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/0.01237, allocations: 105 kB / 0.9648 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.01239, allocations: 108.9 kB / 0.9649 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.721e-05/0.01243, allocations: 176.3 kB / 0.9651 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.01247, allocations: 184.2 kB / 0.9652 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.582e-05/0.01251, allocations: 176.3 kB / 0.9654 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.871e-05/0.01255, allocations: 184.2 kB / 0.9656 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.896e-05/0.01264, allocations: 319.7 kB / 0.9659 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.01267, allocations: 112.9 kB / 0.966 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.01271, allocations: 176.3 kB / 0.9662 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.01275, allocations: 101.3 kB / 0.9663 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.0128, allocations: 196.1 kB / 0.9664 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01282, allocations: 101 kB / 0.9665 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.01286, allocations: 95.27 kB / 0.9666 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01286, allocations: 0 / 0.9666 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003968/0.01326, allocations: 287 kB / 0.9669 GB, free: 3.051 MB / 0.9167 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.0007014/0.01396, allocations: 0.5819 MB / 0.9675 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.282e-05/0.01404, allocations: 37.64 kB / 0.9675 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01404, allocations: 0 / 0.9675 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01404, allocations: 0 / 0.9675 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01431, allocations: 459.7 kB / 0.9679 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.01457, allocations: 257.7 kB / 0.9682 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01461, allocations: 63.34 kB / 0.9683 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.01462, allocations: 12.5 kB / 0.9683 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.01462, allocations: 0 / 0.9683 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of Templates: time 0.004797/0.01942, allocations: 4.874 MB / 0.973 GB, free: 12.72 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x [Calling sys.exit(0), Time elapsed: 7.294556403532624]