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.InternalResistancesTwoUTube.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.0009479/0.0009479, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009303/0.0009303, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.8966/0.8966, allocations: 177.1 MB / 203.8 MB, free: 5.629 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 2.018/2.018, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8783 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.983e-05, allocations: 5.266 kB / 0.8783 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001636/0.001656, allocations: 1.518 MB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.004598, allocations: 2.822 MB / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.004633, allocations: 0 / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.004651, allocations: 3.938 kB / 0.8825 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.004702, allocations: 19.8 kB / 0.8825 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.006954, allocations: 1.648 MB / 0.8842 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.007023, allocations: 47.61 kB / 0.8842 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.007055, allocations: 4 kB / 0.8842 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.007089, allocations: 15.98 kB / 0.8842 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.007108, allocations: 15.92 kB / 0.8842 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.00712, allocations: 3.984 kB / 0.8842 GB, free: 468 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.00852, allocations: 1.489 MB / 0.8857 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.008531, allocations: 11.98 kB / 0.8857 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.008551, allocations: 11.94 kB / 0.8857 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.009615, allocations: 1.286 MB / 0.887 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.009617, allocations: 0 / 0.887 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009618, allocations: 0 / 0.887 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.009622, allocations: 0 / 0.887 GB, free: 13.65 MB / 0.8542 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.0004125/0.01003, allocations: 0.5566 MB / 0.8875 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.01007, allocations: 8.031 kB / 0.8875 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.01012, allocations: 132.1 kB / 0.8876 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.01023, allocations: 239.8 kB / 0.8879 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.01028, allocations: 238.8 kB / 0.8881 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.01033, allocations: 242.8 kB / 0.8883 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.102e-05/0.01038, allocations: 145.5 kB / 0.8885 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.01041, allocations: 119.4 kB / 0.8886 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.01046, allocations: 254.4 kB / 0.8888 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.01051, allocations: 238.4 kB / 0.8891 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.01056, allocations: 242.4 kB / 0.8893 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.01078, allocations: 0.5875 MB / 0.8899 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.01085, allocations: 269.4 kB / 0.8901 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.01089, allocations: 130.8 kB / 0.8902 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.01091, allocations: 119.2 kB / 0.8904 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.01095, allocations: 160.6 kB / 0.8905 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.01095, allocations: 3.984 kB / 0.8905 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.117e-05/0.011, allocations: 25.7 kB / 0.8905 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.01105, allocations: 178.5 kB / 0.8907 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01116, allocations: 195.9 kB / 0.8909 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.01117, allocations: 25.7 kB / 0.8909 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.01122, allocations: 138.9 kB / 0.8911 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.01122, allocations: 0 / 0.8911 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.01125, allocations: 23.38 kB / 0.8911 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01135, allocations: 0.4923 MB / 0.8916 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.01137, allocations: 7.938 kB / 0.8916 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.01138, allocations: 8 kB / 0.8916 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.01141, allocations: 11.69 kB / 0.8916 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01141, allocations: 0 / 0.8916 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.01151, allocations: 53.64 kB / 0.8916 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01152, allocations: 4 kB / 0.8916 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.01154, allocations: 4 kB / 0.8916 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.01155, allocations: 0 / 0.8916 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.01155, allocations: 3.938 kB / 0.8916 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01155, allocations: 0 / 0.8916 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.01157, allocations: 64 / 0.8916 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.01157, allocations: 11.98 kB / 0.8917 GB, free: 8.633 MB / 0.8542 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 8.008e-05/0.01165, allocations: 279.8 kB / 0.8919 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.0117, allocations: 156.8 kB / 0.8921 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.01175, allocations: 152.7 kB / 0.8922 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/0.0118, allocations: 272 kB / 0.8925 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.364e-05/0.01186, allocations: 268 kB / 0.8927 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/0.01191, allocations: 272 kB / 0.893 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.01206, allocations: 0.496 MB / 0.8935 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.01209, allocations: 157 kB / 0.8936 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.01213, allocations: 148.8 kB / 0.8938 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.372e-05/0.01218, allocations: 264.1 kB / 0.894 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.01223, allocations: 276 kB / 0.8943 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-05/0.01229, allocations: 272.1 kB / 0.8945 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-05/0.01234, allocations: 264.1 kB / 0.8948 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.01245, allocations: 451.9 kB / 0.8952 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.01249, allocations: 152.8 kB / 0.8954 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.01255, allocations: 272.1 kB / 0.8956 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.0126, allocations: 144.9 kB / 0.8958 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.01266, allocations: 276 kB / 0.896 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.01269, allocations: 144.9 kB / 0.8962 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.01274, allocations: 143.2 kB / 0.8963 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01274, allocations: 4 kB / 0.8963 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004168/0.01316, allocations: 295 kB / 0.8966 GB, free: 3.375 MB / 0.8542 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.0007148/0.01387, allocations: 0.626 MB / 0.8972 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.973e-05/0.01395, allocations: 49.31 kB / 0.8973 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01396, allocations: 8.062 kB / 0.8973 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01396, allocations: 4 kB / 0.8973 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.01427, allocations: 0.7068 MB / 0.898 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.01451, allocations: 283.6 kB / 0.8982 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.01454, allocations: 55.36 kB / 0.8983 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.01455, allocations: 3.984 kB / 0.8983 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.01456, allocations: 16.5 kB / 0.8983 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.01456, allocations: 0 / 0.8983 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of Templates: time 0.006487/0.02105, allocations: 5.985 MB / 0.9041 GB, free: 11.63 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.219951769104227]